Skip to content

feat: Support reading from token flag on coder login #1483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2022
Merged

Conversation

f0ssel
Copy link
Contributor

@f0ssel f0ssel commented May 16, 2022

This PR adds the ability to skip the login prompt by providing a valid token using the global token flag. This enables users to automate logins in scripts easier if they already have a valid session token.

@f0ssel f0ssel requested a review from kylecarbs May 16, 2022 17:57
Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me!

@f0ssel f0ssel enabled auto-merge (squash) May 16, 2022 18:00
@f0ssel f0ssel merged commit eeaa5c3 into main May 16, 2022
@f0ssel f0ssel deleted the f0ssel/token-login branch May 16, 2022 18:07
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.

2 participants