cupskrrtt
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