Discord-Bot-Dashboard icon indicating copy to clipboard operation
Discord-Bot-Dashboard copied to clipboard

Help

Open alalaha opened this issue 4 years ago • 1 comments
trafficstars

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=

image

alalaha avatar Aug 30 '21 23:08 alalaha

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/<client_id>/oauth2. Then, under the "Redirects" tab, add the redirect uri that you added to your nuxt config file, and save changes.

Also, the "code_challenge_method" query can stay empty. You don't need to change that

Voila! It should work now :)

faluhub avatar Sep 01 '21 14:09 faluhub