NextAuth + GitHub Provider refresh
is anyone using NextAuth with the GitHub provider in a real app?
From what I understand, sessions don't get renewed properly after a few hours unless you make some changes, see:
- https://next-auth.js.org/providers/github
- https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-to-server-access-tokens#response
Is the only required change to add the
From what I understand, sessions don't get renewed properly after a few hours unless you make some changes, see:
- https://next-auth.js.org/providers/github
- https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-to-server-access-tokens#response
Is the only required change to add the
refresh_token_expires_in to the Account model, or does it require anything else?