sylveon / discord-ban-appeals

Sample ban appeals page with OAuth2 integration
https://discord-ban-appeal-preview.netlify.app/
MIT License
137 stars 45 forks source link

Custom Domains Error #21

Open AcedDown opened 3 years ago

AcedDown commented 3 years ago

In the sign in process, an error shows up saying "Invalid URI", I know, The URI needs to be set as the website url thing, but how do i edit that on github?

sylveon commented 3 years ago

Open the application you are using for the appeals site in the Discord Developer Portal, then open the OAuth2 section.

Click on Add Redirect and enter https://mysite.com/.netlify/functions/oauth-callback (replacing mysite.com with the appropriate domain, of course)

AcedDown commented 3 years ago

I already did that before posting. When I add a redirect uri for the new domain on Add Redirect, When i enter the website and click on appeal, it just redirects me to the uri of the project's netlify domain, not the custom one

sylveon commented 3 years ago

You need to redeploy the site for domain changes to fully propagate. In the Netlify dashboard, click Deploys, and then Trigger deploy. In the menu that shows up, hit Deploy site.

github-actions[bot] commented 6 days ago

This issue is stale because it has been open for 30 days with no activity.