Open alalaha opened 3 years ago
Remove identify and email from your scopes array, as they are default.
For the error you're getting here, make sure to add the the correct redirect uri to your oauth application.
To do this, simply go to: https://discord.com/developers/applications/
Also, the "code_challenge_method" query can stay empty. You don't need to change that
Voila! It should work now :)
What should I put in codechallengemethod: '' ? And when I try to log in, it happens this: https://discord.com/oauth2/authorize?protocol=oauth2&response_type=code&access_type&client_id=XXX&redirect_uri=http%3A%2F%2F25.89.212.33%3A3000%2Flogin&scope=identify%20email%20email%20identify&state=VnvVXLDjiV&code_challenge_method=