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

OAuth device flow for headless login? #762

Open
penberg opened this issue Dec 27, 2023 · 0 comments
Open

OAuth device flow for headless login? #762

penberg opened this issue Dec 27, 2023 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@penberg
Copy link
Contributor

penberg commented Dec 27, 2023

Tom on Discord writes:

Authenticating the Turso CLI in a headless environment is cumbersome and every time my token expires this is a large source of frustration. A good example of a headless authentication flow would be that of the GitHub CLI.

The main problem I have with the current one is that I am given a string to export a code as a variable. I would much rather have the CLI update the config file itself with me either pasting in the authentication code or through a server call. These are the two options given with the GitHub CLI and it makes authenticating extremely simple.

Let's look into enabling the OAuth device flow to make the experience better.

@penberg penberg added enhancement New feature or request question Further information is requested labels Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant