nicholastay / passport-discord

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

Failed to fetch the user profile #4

Closed Edsardio closed 7 years ago

Edsardio commented 7 years ago

name: 'InternalOAuthError', message: 'Failed to fetch the user profile.', oauthError: { statusCode: 401, data: '{"code": 0, "message": "401: Unauthorized"}' } }

I keep getting above error. Any way to solve it?

Edsardio commented 7 years ago

Turns out you need the "identify" scope to work