Ā© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Get google oauth access token and implement google refresh token - Better Auth
BA
Better Auth
ā¢
12mo ago
ā¢
8 replies
cupskrrtt
Get google oauth access token and implement google refresh token
Hey everyone
!
I
'm working on implementing authentication in my Next
.js app using BetterAuth with Google OAuth
, and I could use some help with two things
:
How can I retrieve the user
's access
_token after login
?
What
's the best way to implement token refresh with BetterAuth in a Next
.js setup
?
If anyone has experience with this or can point me to some solid resources or examples
, I
ād really appreciate it
!
Thanks in advance
!
Recent Announcements
Similar Threads
Refresh Spotify access token
BA
Better Auth / help
12mo ago
Get fresh access token from oauth (keycloak) ?
BA
Better Auth / help
7mo ago
OAUTH Discord id_token Lifetime & Refresh Token Handling
BA
Better Auth / help
8mo ago
Refresh provider access token using genericOAuth plugin
BA
Better Auth / help
12mo ago