logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.97k stars 448 forks source link

bug: How to enable access_token refresh in next-auth v5 #6775

Open keven1024 opened 2 weeks ago

keven1024 commented 2 weeks ago

Describe the bug

I checked the logto documentation and didn't find anything related to refreshing logto access_token at next-auth v5

Expected behavior

There is a tutorial that guides users on how to refresh the login access_token when the token expires

How to reproduce?

Follow the official tutorial: https://docs.logto.io/quick-starts/next-auth/

Context

Screenshots

darcyYe commented 2 weeks ago

Did you turn on always issue refresh token in your app?