This repository was archived by the owner on Apr 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
500 Error on /callback #16
Copy link
Copy link
Open
Description
After authorization, I am redirected to /auth/discord/callback and the following error occurs:

2023-01-17T10:49:01.265Z [4567/4865] - error: GET /auth/discord/callback?code=aSxxxxxxxxxxxxxxxxDCw&state=Obxxxxxxxxxxxxx3k0
opt_nodebb_1 | TokenError:
opt_nodebb_1 | at PassportOAuth.OAuth2Strategy.parseErrorResponse (/usr/src/app/node_modules/passport-oauth2/lib/strategy.js:373:12)
opt_nodebb_1 | at PassportOAuth.OAuth2Strategy._createOAuthError (/usr/src/app/node_modules/passport-oauth2/lib/strategy.js:420:16)
opt_nodebb_1 | at /usr/src/app/node_modules/passport-oauth2/lib/strategy.js:177:45
opt_nodebb_1 | at /usr/src/app/node_modules/oauth/lib/oauth2.js:191:18
opt_nodebb_1 | at passBackControl (/usr/src/app/node_modules/oauth/lib/oauth2.js:132:9)
opt_nodebb_1 | at IncomingMessage.<anonymous> (/usr/src/app/node_modules/oauth/lib/oauth2.js:157:7)
opt_nodebb_1 | at IncomingMessage.emit (node:events:525:35)
opt_nodebb_1 | at endReadableNT (node:internal/streams/readable:1359:12)
opt_nodebb_1 | at processTicksAndRejections (node:internal/process/task_queues:82:21)
I assume the error is on my side, still I am unable to fix it myself due to lack of an error message.
I seek assistance, finding my bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels