Next.js Discord

Discord Forum

Middleware + Refresh JWT token

Unanswered
Sun bear posted this in #help-forum
Open in Discord
Sun bearOP
im facing a nasty race condition when handling refresh tokens in middleware since they run in parrarrel for server components how can one get around this any sugggestions posibbly a better place to run the jwt refreshes ? thanks in advance looking to hear back from you guys.

0 Replies