You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my nextjs project, I have "PKCE code_verifier cookie missing" problem use apple provide, and I find official demo in next-auth website still couldn't signin with apple!
In my local, it report an error:
error: TypeError: PKCE code_verifier cookie was missing.
at Object.use (/Users/georgezou/Documents/WORK/StaringAI/mtbird-saas/node_modules/next-auth/core/lib/oauth/checks.js:60:30)
at oAuthCallback (/Users/georgezou/Documents/WORK/StaringAI/mtbird-saas/node_modules/next-auth/core/lib/oauth/callback.js:75:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.callback (/Users/georgezou/Documents/WORK/StaringAI/mtbird-saas/node_modules/next-auth/core/routes/callback.js:45:11)
at async AuthHandler (/Users/georgezou/Documents/WORK/StaringAI/mtbird-saas/node_modules/next-auth/core/index.js:260:28)
at async NextAuthApiHandler (/Users/georgezou/Documents/WORK/StaringAI/mtbird-saas/node_modules/next-auth/next/index.js:18:19)
at async auth (webpack-internal:///(api)/./src/pages/api/auth/next/[...nextauth].ts:26:12)
at async Object.apiResolver (/Users/georgezou/Documents/WORK/StaringAI/mtbird-saas/node_modules/next/dist/server/api-utils/node.js:366:9)
at async DevServer.runApi (/Users/georgezou/Documents/WORK/StaringAI/mtbird-saas/node_modules/next/dist/server/next-server.js:481:9)
at async Object.fn (/Users/georgezou/Documents/WORK/StaringAI/mtbird-saas/node_modules/next/dist/server/next-server.js:741:37) {
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'apple'
}
And I add or remove cookies blow what #9990 (comment) said, it doesn't work
Provider type
Apple
Environment
Reproduction URL
https://github.com/georgezouq/next-auth
Describe the issue
On my nextjs project, I have "PKCE code_verifier cookie missing" problem use apple provide, and I find official demo in next-auth website still couldn't signin with apple!
In my local, it report an error:
And I add or remove cookies blow what #9990 (comment) said, it doesn't work
How to reproduce
open https://next-auth-example.vercel.app/ -> click Sign In button -> click Apple
I got this error
Expected behavior
signin in like other oauth provider
The text was updated successfully, but these errors were encountered: