Skip to content
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

Press enter to open browser for auth #88

Open
david-crespo opened this issue Apr 6, 2023 · 0 comments · May be fixed by #418
Open

Press enter to open browser for auth #88

david-crespo opened this issue Apr 6, 2023 · 0 comments · May be fixed by #418
Assignees

Comments

@david-crespo
Copy link
Contributor

Got this from the GitHub CLI, I like it. Gives a feeling of agency instead of things just happening to you.

? How would you like to authenticate GitHub CLI? Login with a web browser

! First copy your one-time code: REDA-CTED
Press Enter to open github.com in your browser... 
@ahl ahl self-assigned this Apr 17, 2023
@sudomateo sudomateo linked a pull request Oct 24, 2023 that will close this issue
sudomateo added a commit to sudomateo/oxidecomputer-oxide.rs that referenced this issue Dec 23, 2023
Previously the `oxide auth login` command would automatically open the
user's browser which can be a jarring user experience.

This patch updates `oxide auth login` to prompt the user to open the
browser instead of just opening the browser automatically. Users passing
`--no-browser` will not receive this prompt and will instead have the
URL printed to standard output.

Closes: oxidecomputer#88
sudomateo added a commit to sudomateo/oxidecomputer-oxide.rs that referenced this issue Mar 26, 2024
Previously the `oxide auth login` command would automatically open the
user's browser which can be a jarring user experience.

This patch updates `oxide auth login` to prompt the user to open the
browser instead of just opening the browser automatically. Users passing
`--no-browser` will not receive this prompt and will instead have the
URL printed to standard output.

Closes: oxidecomputer#88
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 a pull request may close this issue.

2 participants