You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing a redirectUri http://localhost:3000/#/oauth-callback/discord
The pop-up link generated by this lib is: https://discord.com/oauth2/authorize?client_id=X&redirect_uri=http://localhost:3000/#/oauth-callback/discord&response_type=token
Discord will reject the request with the message: "Invalid redirect URI"
If I manually encode the URI and pass it to the React component, it works fine.
The text was updated successfully, but these errors were encountered:
When passing a redirectUri
http://localhost:3000/#/oauth-callback/discord
The pop-up link generated by this lib is:
https://discord.com/oauth2/authorize?client_id=X&redirect_uri=http://localhost:3000/#/oauth-callback/discord&response_type=token
Discord will reject the request with the message: "Invalid redirect URI"
If I manually encode the URI and pass it to the React component, it works fine.
The text was updated successfully, but these errors were encountered: