This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
Change auth middleware behavior when it throws an erro #26
Replies: 1 comment
-
you can treat this on exception/handler |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to change the middleware behavior when a refresh token is invalid or expired?
In my case I would like to implement a response error like this:
Instead of this:
My frontend with NextJS can't handle the second error
Beta Was this translation helpful? Give feedback.
All reactions