-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discord Profile route always 401 Unauthorized #277
Comments
That's weird, |
I was just about to say that it works on my end, can you try adding response: ["tokens", "profile"], |
Yep, that fixed it, thanks! |
That seems like a bug to me though, I will have to take a look. |
As far as I read into it, So if you've got the
|
That's true, but having just the |
Fair enough |
In grant/lib/profile.js, logging
options
:The authorization header defined line 31
options.headers.authorization = `Bearer ${output.access_token}
output.access_token is always undefined, at least when using Discord.
If you enable the
raw
response, output.raw.access_token does exist.The text was updated successfully, but these errors were encountered: