-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Add Auth0 device code authorization and refresh token flow #31
Conversation
88d68ef
to
ec56c8b
Compare
ec56c8b
to
65be94e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why didn't you used the sdk from auth0
https://github.com/auth0/auth0-python ?
I would be nice if we add some convenient login functions around that. This could internally store the refresh token and handle any authentication issues on its on (by intercepting any calls to the Api) |
please add example or some docs in README.md |
Because the Auth0 SDK does not support device_code auth. 🤷 |
lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Co-authored-by: Christoph Biering <1353438+biering@users.noreply.github.com>
This PR provides the auth0 device code and refresh token flow.
In order to use it you have to provide
client_id
,domain
andaudience
of your Wandelbots Developer account.