Invalid OAuth2 redirect uri #604
-
im getting an error "invalid oAuth2 redirect uri" when i try to access the webpanel provided by the bot, i am currently runing the pterodactyl official egg for this bot, client secret is fine (correct credentials), ive alr setted up the redirect url on discord developers: to http:/auth/callback, http:///auth/callback, https:///auth/callback can anyone help me pleasee? thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The redirect in the Developer Portal needs to match the bot's If that is definitely correct, try recreating the application (and updating the environment variables) because Discord has been buggy recently. |
Beta Was this translation helpful? Give feedback.
-
issue was solved, thank you so much! |
Beta Was this translation helpful? Give feedback.
The redirect in the Developer Portal needs to match the bot's
HTTP_EXTERNAL
environment variable.If
HTTP_EXTERNAL is
http://tickets.example.com`, the redirect must behttp://tickets.example.com/auth/callback
(with everything before the path identical).If that is definitely correct, try recreating the application (and updating the environment variables) because Discord has been buggy recently.