goth icon indicating copy to clipboard operation
goth copied to clipboard

discord provider requires "identify" scope

Open tardisx opened this issue 4 years ago • 0 comments

This might be a fairly naive problem on my behalf, this is fairly new to me.

I have successfully used the google provider with just the "email" scope.

When I try the same with discord, when the callback is called I get an error:

discord responded with a 401 trying to fetch user information

I suspect the returned body of the request made in FetchUser has something interesting, but I'm not familiar enough with net/http yet to work out how to inject my own client which can expose that.

If I add the "identify" scope, things work correctly.

tardisx avatar Jul 29 '21 01:07 tardisx