diff --git a/docs/content/docs/concepts/plugins.mdx b/docs/content/docs/concepts/plugins.mdx index 7ca4e03a56..536e055073 100644 --- a/docs/content/docs/concepts/plugins.mdx +++ b/docs/content/docs/concepts/plugins.mdx @@ -533,4 +533,4 @@ If you need to use better fetch plugins you can pass them to the `fetchPlugins` This is only useful if you want to provide `hooks` like `useSession` and you want to listen to atoms and re-evaluate them when they change. -You can see how this is used in the built-in plugins. +You can see how this is used in the built-in plugins. \ No newline at end of file diff --git a/packages/better-auth/src/plugins/anonymous/index.ts b/packages/better-auth/src/plugins/anonymous/index.ts index 6249064377..ec92078bf7 100644 --- a/packages/better-auth/src/plugins/anonymous/index.ts +++ b/packages/better-auth/src/plugins/anonymous/index.ts @@ -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) => {