Skip to content

improve auth setup UX and hide password input - #12

Draft
bulat-andrey wants to merge 1 commit into
eddmann:mainfrom
bulat-andrey:agent/improve-auth-setup-ux
Draft

improve auth setup UX and hide password input#12
bulat-andrey wants to merge 1 commit into
eddmann:mainfrom
bulat-andrey:agent/improve-auth-setup-ux

Conversation

@bulat-andrey

Copy link
Copy Markdown

Summary

  • use getpass() for password entry in the auth setup flow
  • prefill saved email and reuse saved credentials when the user presses Enter

Why

Echoing passwords in the terminal is a poor default for an auth helper. Reusing saved values also makes re-authentication less error-prone.

Impact

This improves both security and UX for the interactive Garmin authentication setup flow.

Validation

  • uv run pytest
  • exercised against the interactive auth setup flow locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant