-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
add nice error message when exchange of token returns 401 #11
Comments
To test it out, add a Rule to your |
I will need the error message for all the possible reponses on the error_description field of the response to the call "oauth/token". Also, what do you think about this? https://cloudup.com/c0CCRk5q1-y |
ready on dev |
I still don't see a nice error: https://cloudup.com/c9X-XTW0BUI |
I don't know exactly what @woloski meant. What I tried is the following:
returns callback(new UnauthorizedError('doesnt work'));
|
That was my first idea (check https://cloudup.com/c0CCRk5q1-y) and asked for the messages to show for each error. Now what it does is to show an error page when, we validate the code in the callback url, the WS returns 401 (in the case of misconfiguration of secret, etc). |
I'm not sure what error @woloski is describing. If you follow the steps I wrote down, you'll see that no error page is shown. If you want I can move that to a new issue, but IDK if this is the same. Can you clarify? |
…t manages the errores when there is no code and an error instead)
right now it fails with the an empty message
we should show
"Please check your Client Secret on the settings plugin is the same as the one on the Auth0 dashboard"
The text was updated successfully, but these errors were encountered: