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
I am getting a 405 code because the url to get the access token is wrong
API resolved without sending a response for /api/auth/callback/vercel?code=M2WTSCMBKavmAA5TDOYOcY12, this may result in stalled requests.
auth callback [
InternalOAuthError: Failed to obtain access token
at Strategy.OAuth2Strategy._createOAuthError (/Users/morse/Documents/GitHub/nextjs-passport-session-auth/node_modules/passport-vercel/dist/passport-vercel.umd.js:2047:21)
at /Users/morse/Documents/GitHub/nextjs-passport-session-auth/node_modules/passport-vercel/dist/passport-vercel.umd.js:1814:49
at /Users/morse/Documents/GitHub/nextjs-passport-session-auth/node_modules/passport-vercel/dist/passport-vercel.umd.js:1285:22
at passBackControl (/Users/morse/Documents/GitHub/nextjs-passport-session-auth/node_modules/passport-vercel/dist/passport-vercel.umd.js:1225:13)
at IncomingMessage.<anonymous> (/Users/morse/Documents/GitHub/nextjs-passport-session-auth/node_modules/passport-vercel/dist/passport-vercel.umd.js:1250:11)
at IncomingMessage.emit (events.js:215:7)
at endReadableNT (_stream_readable.js:1183:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
name: 'InternalOAuthError',
message: 'Failed to obtain access token',
oauthError: { statusCode: 405, data: '' }
}
]
The text was updated successfully, but these errors were encountered:
I am getting a 405 code because the url to get the access token is wrong
The text was updated successfully, but these errors were encountered: