Help with oauth2

Status
This thread has been locked.

Nathan

Discord Bot Developer
Supreme
Feedback score
50
Posts
372
Reactions
329
Resources
2
Here is my error:
Code:
InternalOAuthError: Failed to obtain access token
12:46 AM
   at Strategy.OAuth2Strategy._createOAuthError (/rbd/pnpm-volume/4de3e227-491f-43cc-b952-02d8ead6b2b9/node_modules/.registry.npmjs.org/passport-oauth2/1.5.0/node_modules/passport-oauth2/lib/strategy.js:408:17)
12:46 AM
   at /rbd/pnpm-volume/4de3e227-491f-43cc-b952-02d8ead6b2b9/node_modules/.registry.npmjs.org/passport-oauth2/1.5.0/node_modules/passport-oauth2/lib/strategy.js:175:45
12:46 AM
   at /rbd/pnpm-volume/4de3e227-491f-43cc-b952-02d8ead6b2b9/node_modules/.registry.npmjs.org/oauth/0.9.15/node_modules/oauth/lib/oauth2.js:191:18
12:46 AM
   at passBackControl (/rbd/pnpm-volume/4de3e227-491f-43cc-b952-02d8ead6b2b9/node_modules/.registry.npmjs.org/oauth/0.9.15/node_modules/oauth/lib/oauth2.js:132:9)
12:46 AM
   at IncomingMessage.<anonymous> (/rbd/pnpm-volume/4de3e227-491f-43cc-b952-02d8ead6b2b9/node_modules/.registry.npmjs.org/oauth/0.9.15/node_modules/oauth/lib/oauth2.js:157:7)
12:46 AM
   at IncomingMessage.emit (events.js:194:15)
12:46 AM
   at endReadableNT (_stream_readable.js:1125:12)
12:46 AM
   at process._tickCallback (internal/process/next_tick.js:63:19)

If you want to see my code and help me out, add me on discord !AmANoot#0123

Would be greatly appreciated <3
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Anish

Developer
Supreme
Feedback score
9
Posts
365
Reactions
176
Resources
0
Are you using passport-discord? Is all your auth tokens setup right?
 
Last edited:
Status
This thread has been locked.
Top