auth0 / auth0-cli

Build, manage and test your Auth0 integrations from the command line
https://auth0.github.io/auth0-cli/
MIT License
238 stars 51 forks source link

unable to login to a different tenant #1003

Closed bwoznicki closed 3 weeks ago

bwoznicki commented 1 month ago

Checklist

Description

Unable to login "As a user" to a different tennant. Same as here auth0 comunity issue. But I am not sure if that is the CLI issue or the endpoint, in documentation there is a mention of some dropdown to choose tenant but I am not seeing this dropdown anywhere. Tested on linux/mac firefox/chrome/safari

Expectation

auth login "As a user" should prompt for tenant

Reproduction

I have several tenants in eu and us regions, but auth login always loggs in to the same tenant, which is not even my default tenant according to auth0 dashboard

Auth0 CLI version

auth0 version 1.4.0 54e9a30eeb58a4a7e40e04dc19af6869036bfb32

bwoznicki commented 1 month ago

Found the issue, its the prebuild binary, something is missing there. If I clone this repo and run directly with go run . login I now get the dropdown after confirming the code in the browser.

BUT...

After running it once directly, the prebuild bin is now also showing the dropdown, browser issue ?

developerkunal commented 1 month ago

Hi @bwoznicki,

I hope you are doing well. Sorry for the late response.

Are you still facing the issue? It might be due to cached data in your browser, as we haven't seen anyone else with the same problem, and I couldn't reproduce it. If the issue still exists, could you please provide the steps to reproduce it so I can investigate further?

Thank you! If the issue is resolved, we can close it.