Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
NextAuth + GitHub Provider refresh - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
3 replies
cje
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
refresh_token_expires_in
refresh_token_expires_in
to the
Account
Account
model
, or does it require anything else
?
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Refreshing NextAuth Discord provider user details
TTC
Theo's Typesafe Cult / questions
3y ago
Nextauth Credentials provider
TTC
Theo's Typesafe Cult / questions
4y ago
NextAuth - Email Provider Breaking Google Provider!
TTC
Theo's Typesafe Cult / questions
2y ago