How To Do Google Popup Login?

When my users click 'Sign In With Google", I don't want to perform a full page redirect. I want all the auth to happen in a popup so I don't lose the tracking session. How can I do that with better auth and next.js?
1 Reply
Ping
Ping4mo ago
I think you're looking for something like this: https://www.better-auth.com/docs/plugins/one-tap
One Tap | Better Auth
One Tap plugin for Better Auth

Did you find this page helpful?