fix: linking accounts for anon users with one tap and passkey (#3124)

* typo

* typo

* linking accounts

* clean up

* clean up

* clean up

* clean up
This commit is contained in:
KinfeMichael Tariku
2025-07-10 11:15:37 -07:00
committed by GitHub
parent b03230688a
commit a2029ef7fd
2 changed files with 3 additions and 2 deletions

View File

@@ -179,7 +179,8 @@ export const anonymous = (options?: AnonymousOptions) => {
ctx.path.startsWith("/oauth2/callback") ||
ctx.path.startsWith("/magic-link/verify") ||
ctx.path.startsWith("/email-otp/verify-email") ||
ctx.path.startsWith("/phone-number/verify")
ctx.path.startsWith("/one-tap/callback") ||
ctx.path.startsWith("/passkey/verify-authentication")
);
},
handler: createAuthMiddleware(async (ctx) => {