NextAuth.js - Custom provider - Refresh token flow

Viewed 767

I'm trying to implement an authorization via next-auth with a custom provider. But the NextAuth.js doesn't have a refresh token functionality. I have an endpoint for updating the access token but I'm not sure where the correct place (in next-auth config) I should implement it. Could someone help me with this? maybe some info. Thank you! (https://next-auth.js.org/)

0 Answers
Related