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 i click the discord login button, the login session starts.
When i click authorize, I am redirected to the redirect URI I have set but that URL also has some extra queries like this http://localhost:3000/?code=KqntCqGvR1kWRckoeNZiNoUePQqpvp&state=eyJ0eXipOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfX3N0YXRlX3NlY3JldF8iOiJodk1xcjuwc1dDVlZKMGIzUWdXNkExYTRUZ1I1NWgifQ.As-hU5qrnGZ-q4ghRi2JonTcuuJmg1uMIBcDYgI-zD8
After login, i want to hit /discordInfo to get user information but it always returns {"isAuthorized": False}
Can anyone help me figuring out what I am doing wrong?
The text was updated successfully, but these errors were encountered:
So I am trying to set up a flask backend through which i want to do discord authorization in my react app.
my flask backed looks like this:
and the frontend code for login button is this:
when i click the discord login button, the login session starts.
When i click authorize, I am redirected to the redirect URI I have set but that URL also has some extra queries like this
http://localhost:3000/?code=KqntCqGvR1kWRckoeNZiNoUePQqpvp&state=eyJ0eXipOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfX3N0YXRlX3NlY3JldF8iOiJodk1xcjuwc1dDVlZKMGIzUWdXNkExYTRUZ1I1NWgifQ.As-hU5qrnGZ-q4ghRi2JonTcuuJmg1uMIBcDYgI-zD8
After login, i want to hit
/discordInfo
to get user information but it always returns{"isAuthorized": False}
Can anyone help me figuring out what I am doing wrong?
The text was updated successfully, but these errors were encountered: