You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--force and --no-input still prompt you to open a browser
Reproduction
I'm trying to run a command to get a token to test with automatically:
auth0 test login MY_CLIENT_ID --no-input --force --domain MY_DOMAIN
This outputs:
▸ A browser window will open to begin this client's login flow.
▸ Once login is complete, you can return to the CLI to view user profile information and tokens.
▸ The client you are using does not currently allow callbacks to localhost.
▸ To complete the login flow the CLI needs to redirect logins to a local server and record the result.
▸ The client will be modified to update the allowed callback URLs, we'll remove them when done.
▸ If you do not wish to modify the client, you can abort now.
Do you wish to proceed? (y/N)
According to the documentation from auth0 help test login:
This documentation isn't clear on what's supposed to happen, it is quite confusing. Either way, neither flag's supposed explanation is being followed, there is both a confirmation and it's interactive.
Environment
Please provide the following:
Version of this library used:
auth0 --version
auth0 version 0.6.0 b69b35a
Version of the platform or framework used, if applicable:
Mac Big Sur, iTerm2
The text was updated successfully, but these errors were encountered:
Hi @AndrewRayCode, thanks for raising this. The test login command requires interactivity, because the login is browser-based. Therefore, the global flag --no-input has no effect. However, --force should work and open the browser tab directly without a confirmation prompt.
I'll leave this issue open to track that.
Description
--force and --no-input still prompt you to open a browser
Reproduction
I'm trying to run a command to get a token to test with automatically:
This outputs:
According to the documentation from
auth0 help test login
:This documentation isn't clear on what's supposed to happen, it is quite confusing. Either way, neither flag's supposed explanation is being followed, there is both a confirmation and it's interactive.
Environment
Version of this library used:
auth0 --version
auth0 version 0.6.0 b69b35a
Version of the platform or framework used, if applicable:
Mac Big Sur, iTerm2
The text was updated successfully, but these errors were encountered: