Replies: 1 comment 9 replies
-
@rumfiske Is this a regression? Would you be able to create a StackBlitz example to recreate? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We use NextAuth with Cognito as a provider. When the user's token gets refreshed, the OpenAPI token doesn't update correctly. So I get "Unauthorized" error. Even when the token indeed did get refreshed.
This will return undefined until I refresh the page a couple of times.
I also update the token when the user sign in, or when a token is refreshed in [...nextauth]/route.ts
Beta Was this translation helpful? Give feedback.
All reactions