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!
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!