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

Automatically open the browser on infisical login #2351

Open
net opened this issue Aug 29, 2024 · 1 comment
Open

Automatically open the browser on infisical login #2351

net opened this issue Aug 29, 2024 · 1 comment

Comments

@net
Copy link

net commented Aug 29, 2024

Feature description

Most CLI tools that require signing in automatically open the browser instead of requiring the user to copy-paste a link.

Heroku:

> heroku login
heroku: Press any key to open up the browser to login or q to exit:
Opening browser to https://cli-auth.heroku.com/auth/cli/browser/xxxxxxxxxx
heroku: Waiting for login... ⣟

Crunchy Bridge:

> cb login
Press Enter to open a browser to login. (Ctrl+C to quit)
Or visit: https://crunchybridge.com/account/verify-cli/xxxxxxxxxx
Waiting for login... -

Why would it be useful?

This is a better DX than having to copy-paste a URL, especially given that Infisical periodically logs developers out. It's also how developers are used to modern CLI tools working.

@callumfrederiksen
Copy link

Ill take a look at the source code

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

No branches or pull requests

3 participants
@net @callumfrederiksen and others