nicholastay / passport-discord

Passport strategy for authentication with Discord (discordapp.com)
ISC License
172 stars 55 forks source link

InternalOAuthError: Failed to obtain access token #35

Open trulyWHOOOP opened 3 years ago

trulyWHOOOP commented 3 years ago

Now getting this error, friends had to change oauth so it works, but I'm not sure what to do:

Error

InternalOAuthError: Failed to obtain access token
    at Strategy.OAuth2Strategy._createOAuthError (/home/runner/markplek/node_modules/passport-oauth2/lib/strategy.js:408:17)
    at /home/runner/markplek/node_modules/passport-oauth2/lib/strategy.js:175:45
    at /home/runner/markplek/node_modules/oauth/lib/oauth2.js:191:18
    at passBackControl (/home/runner/markplek/node_modules/oauth/lib/oauth2.js:132:9)
    at IncomingMessage.<anonymous> (/home/runner/markplek/node_modules/oauth/lib/oauth2.js:157:7)
    at IncomingMessage.emit (events.js:326:22)
    at IncomingMessage.EventEmitter.emit (domain.js:483:12)
    at endReadableNT (_stream_readable.js:1241:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)
tonestrike commented 3 years ago

@ItsMrReals can you share your implementation?

Also, I fixed some bugs in a fork you can use here. This package isn't being maintained any longer.

trulyWHOOOP commented 3 years ago

@ItsMrReals can you share your implementation?

Also, I fixed some bugs in a fork you can use here. This package isn't being maintained any longer.

Looks like this was a discord issue, it is fixed now.