mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
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:
committed by
GitHub
parent
b03230688a
commit
a2029ef7fd
@@ -179,7 +179,8 @@ export const anonymous = (options?: AnonymousOptions) => {
|
|||||||
ctx.path.startsWith("/oauth2/callback") ||
|
ctx.path.startsWith("/oauth2/callback") ||
|
||||||
ctx.path.startsWith("/magic-link/verify") ||
|
ctx.path.startsWith("/magic-link/verify") ||
|
||||||
ctx.path.startsWith("/email-otp/verify-email") ||
|
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) => {
|
handler: createAuthMiddleware(async (ctx) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user