cupskrrtt
BABetter Auth
ā¢Created by cupskrrtt on 4/22/2025 in #help
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! š
9 replies