ajmyyra / ambassador-auth-oidc

OpenID Connect AuthService for Ambassador API Gateway
MIT License
88 stars 35 forks source link

Redirect in JWT validation error #13

Closed yanniszark closed 5 years ago

yanniszark commented 5 years ago

Currently, when the JWT validation fails, an HTTP error code is sent along with a small message. Clearing the cookie and redirecting to login would make for a better UX. @ajmyyra what do you think? I will open a PR for this if you agree.