nektro/andesite

Discord OAuth break with unusual port configurations

KNOXDEV opened this issue · 2 comments

Running Andesite on a non-typical port, just as 8000 (the unconfigured default), will cause issues in the redirect url when attempting to log into Discord.

As we can see, the redirect url is being sent to Discord correctly:
image
...but Discord doesn't like port numbers in its redirect url:
image

Not sure what to do about this, since its mostly Discord's fault. Figured I'd better document the issue regardless of if we plan to fix it.

This is an behavior with Discord where they only whitelist localhost:80 and localhost:443 outright. So use of non-standard ports has to be added to your list of valid redirects on the Discord developers dashboard.

image

Good to know. Leave this issue intact and we should link to it in a future FAQ.