Next.js Discord

Discord Forum

middleware

Unanswered
American black bear posted this in #help-forum
Open in Discord
Avatar
American black bearOP
could we catch the error in middleware for api request. like if we catch the 401 error code then we can genearte the refresh token in middleware

1 Reply

Avatar
Asian black bear
Since you randomly DMed me, I'm issuing you a warning.