discord-ban-appeals icon indicating copy to clipboard operation
discord-ban-appeals copied to clipboard

Custom Domains Error

Open AcedDown opened this issue 4 years ago • 3 comments

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?

AcedDown avatar May 08 '21 21:05 AcedDown

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)

sylveon avatar May 08 '21 21:05 sylveon

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

AcedDown avatar May 08 '21 21:05 AcedDown

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.

sylveon avatar May 08 '21 23:05 sylveon