-
Notifications
You must be signed in to change notification settings - Fork 273
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
Access denied following instructions #136
Comments
Hi @wozzo, could you please check that you're not being affected by this issue? |
Yup. Looks like that was it, but now I get
How many other settings need specific values for it work? Is there a document describing the permissible settings? |
Yes if you have apps tied to that Auth0 Application and rely on the HS256 signature algorithm mode, you will need to create a new application that is set to RS256. The default settings should really work if you're setting up a new Auth0 app - are you using an application that was created quite a while ago, or using the Default App? The default for the signature algorithm for example should now be RS256 (this library does not support HS256 at all), and just make sure Token Endpoint Authentication Mode is set to 'None'. Creating a new app would be best to get all the defaults, which should work out of the box. If you're able to try that, let me know how you get on. |
Was able to get it to work with a new app. Thanks |
Describe the problem
We were previously using
auth0-lock
Having followed the instructions on the Auth0 React SDK Quickstart when I attempt to login the redirects all happen then a
POST
to our auth0 domain/oauth/token
endpoint returns a 401 with the following response.In the Auth0 logs I can see the following rows, but no information as to what is missing
||Type || Description || Date↓ || Connection || Application↓ ||
| Success Login | Successful login | a few seconds ago | Username-Password-Authentication | MCO Admin App|
| Failed Exchange | Unauthorized | 10 minutes ago | N/A | N/A|
What was the expected behavior?
Token endpoint to return a token for use in the app
Reproduction
I tried this in a copy of the Sample code where the only changes made were to create an
auth_config.json
with the appropriate valuesand in the
index.js
commented out the line that set the audience in the Auth0ProviderI have also had the same issue occur when providing a value for audience.
Environment
auth0-react
used: both 1.0.0 and 1.1.0The text was updated successfully, but these errors were encountered: