auth0 / auth0-python

Auth0 SDK for Python
https://auth0-python.readthedocs.io
MIT License
499 stars 161 forks source link

Get management token using device code flow #598

Open rdettai opened 5 months ago

rdettai commented 5 months ago

Checklist

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