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 GitHub
parent 5dfb788838
commit 8ff196ec0d
6 changed files with 424 additions and 101 deletions

View File

@@ -143,11 +143,11 @@ export const auth = betterAuth({
bearer(),
admin(),
multiSession(),
oneTap(),
oAuthProxy(),
nextCookies(),
oidcProvider({
loginPage: "/sign-in",
}),
oneTap(),
],
});