Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord OAuth break with unusual port configurations #38

Closed
KNOXDEV opened this issue Jun 5, 2019 · 2 comments
Closed

Discord OAuth break with unusual port configurations #38

KNOXDEV opened this issue Jun 5, 2019 · 2 comments
Labels
faq Closed issue to link back to for commonly found problems question OP is unsure about behavior

Comments

@KNOXDEV
Copy link

KNOXDEV commented Jun 5, 2019

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.

@nektro
Copy link
Owner

nektro commented Jun 6, 2019

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

@nektro nektro added question OP is unsure about behavior waiting on submitter Waiting on info from OP labels Jun 6, 2019
@KNOXDEV
Copy link
Author

KNOXDEV commented Jun 6, 2019

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

@KNOXDEV KNOXDEV closed this as completed Jun 6, 2019
@nektro nektro added faq Closed issue to link back to for commonly found problems and removed waiting on submitter Waiting on info from OP labels Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
faq Closed issue to link back to for commonly found problems question OP is unsure about behavior
Projects
None yet
Development

No branches or pull requests

2 participants