feat(one-tap): improve Google One Tap integration with JWT verification and improved prompt handling (#1452)

* fix(auth): use options.baseURL instead of ctx.baseURL on trusted origins

* feat(one-tap):  improve Google One Tap integration with JWT verification and improved prompt handling

* feat(one-tap): add One Tap component for user authentication and fix prompt options
This commit is contained in:
Bereket Engida
2025-02-15 11:56:06 +03:00
committed by Bereket Engida
parent 868a63c047
commit 8a08ae9eee
6 changed files with 424 additions and 101 deletions

View File

@@ -24,6 +24,9 @@ export const client = createAuthClient({
multiSessionClient(),
oneTapClient({
clientId: process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID!,
promptOptions: {
maxAttempts: 2,
},
}),
oidcClient(),
genericOAuthClient(),