You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
PassportJS has a failureRedirect route which can be provided by client to show a custom error page.
The case i've is if you hit authorization-code/callback?error=access_denied if will just show Unauthorized and not an easy way to override this error page or show a page.
I propose, provided the clients ability to provide failureRedirect for passport similar to successReturnToOrRedirect.
The text was updated successfully, but these errors were encountered:
Thanks @ahmednasir91 , this looks good and I'd love to see a PR. With that PR can you also document this option in the README? I'll also need to send you over to our CLA before we can merge: https://developer.okta.com/cla/
PassportJS has a
failureRedirect
route which can be provided by client to show a custom error page.The case i've is if you hit
authorization-code/callback?error=access_denied
if will just showUnauthorized
and not an easy way to override this error page or show a page.I propose, provided the clients ability to provide
failureRedirect
for passport similar tosuccessReturnToOrRedirect
.The text was updated successfully, but these errors were encountered: