Skip to content

Deep Linking with OAuth2 Not Working. #1296

Closed
@KevinEdry

Description

@KevinEdry

Hey,
I tried to add discord oauth2 login to my react native app, everything worked properly when the redirect URI was setup to my server IP address via "http://myserver:8080/api/discord/callback/",
but when I set the redirect URI to my app "myapp://discord" I got an invalid_grant error.

found out that this error is invoked when the redirect URI isn't exacly the same, so I double and triple checked this and everything was setup properly and still got the error.

Just want to note that we are doing the same thing with Twitch OAuth2 and it works as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions