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

Get management token using device code flow #598

Open
5 tasks done
rdettai opened this issue Feb 6, 2024 · 0 comments
Open
5 tasks done

Get management token using device code flow #598

rdettai opened this issue Feb 6, 2024 · 0 comments
Labels
feature request A feature has been asked for or suggested by the community

Comments

@rdettai
Copy link

rdettai commented Feb 6, 2024

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

With the auth0 CLI I login to my Auth0 tenant's Management API using the device flow (login through the browser). It seems this cannot be done with the python SDK.

Describe the ideal solution

The GetToken object would have a login_device() method.

Alternatives and current workarounds

I am currently calling into the auth0 binary from my python code, but that adds an external dependency.

Additional context

No response

@rdettai rdettai added the feature request A feature has been asked for or suggested by the community label Feb 6, 2024
@rdettai rdettai changed the title Get management token using device flow Get management token using device code flow Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

No branches or pull requests

1 participant