-
Notifications
You must be signed in to change notification settings - Fork 210
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 access to Auth0 instance from Auth0Provider #950
Comments
An alternative (simpler) solution would be to let us pass in an AuthClient to the Auth0Provider. |
@bednar can you explain the limitation of the methods exposed through credentials manager right now? We would like to understand this deeper. Ideally we want to move to a fully Hooks based API and understanding your requirements might help us build it. |
We are using react-native-auth0 in our app to authorize users via one-time passwords ( |
We need to authorize TVs (android), device authorization flow fits perfectly herein. I have already prototyped the device authorization flow outside of auth0 libraries, it works fine and meets our expectations. The actual issue is an implementation one, A full prototype implementation of a |
@sranka This is awesome :) Any chance you are open to opening a PR with this. We have been meaning to support device flow authorization for sometime now and this implementation looks perfect! |
I do not plan to open a pull request to the "setCredentials with refreshToken" issue, it is touching the internals in a hacky way. Once it gets resolved ... |
Checklist
Describe the problem you'd like to have solved
We are looking to implement device auth flow into our app, but currently there is no way to access the
credentialManager
fromAuth0Provider
. This limitation means we would need to reimplement a significant amount of code fromAuth0Provider
. I believe the original issue (#599) regarding accessingcredentialsManager
fromuseAuth0
remains relevant and should be considered for inclusion in v4.Perhaps also providing access to a preconfigured
Auth
andnetworking.Client
could assist users in implementing any authorization API from https://auth0.com/docs/api/authentication#authorize-application.This would enhance flexibility and reduce the need for redundant configurations.
Describe the ideal solution
Being able to utilize the existing Auth0Provider to integrate with new authorization methods would enhance usability and streamline integration processes.
Alternatives and current workarounds
No response
Additional context
The text was updated successfully, but these errors were encountered: