mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 12:27:44 +00:00
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:
committed by
Bereket Engida
parent
868a63c047
commit
8a08ae9eee
@@ -24,6 +24,9 @@ export const client = createAuthClient({
|
||||
multiSessionClient(),
|
||||
oneTapClient({
|
||||
clientId: process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID!,
|
||||
promptOptions: {
|
||||
maxAttempts: 2,
|
||||
},
|
||||
}),
|
||||
oidcClient(),
|
||||
genericOAuthClient(),
|
||||
|
||||
Reference in New Issue
Block a user