Skip to content
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

handle invalid token error #285

Merged
merged 1 commit into from
Mar 10, 2020
Merged

Conversation

emiliokyp
Copy link
Contributor

@emiliokyp emiliokyp commented Mar 6, 2020

Changes

Updated AuthError class to return invalid_token error from www-authenticate header. Error caused when using an expired token.

References

issue #241

Testing

Manual testing only

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

This was just a quick fix to get it working for my project, happy to take feedback and change my approach to this.

@emiliokyp emiliokyp requested a review from a team March 6, 2020 03:09
@lbalmaceda lbalmaceda requested review from Widcket and removed request for a team March 6, 2020 13:43
@lbalmaceda lbalmaceda added this to the v2-Next milestone Mar 6, 2020
@lbalmaceda lbalmaceda added the small This PR may require low effort to action, or contains few changes to review label Mar 6, 2020
@lbalmaceda lbalmaceda linked an issue Mar 6, 2020 that may be closed by this pull request
@Widcket Widcket merged commit b6b1e5a into auth0:master Mar 10, 2020
@Widcket
Copy link
Contributor

Widcket commented Mar 10, 2020

Thanks @emiliokyp!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CH: Fixed small This PR may require low effort to action, or contains few changes to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

a0.response.invalid: unknown error using expired token
3 participants