Giveth / giveth-next

Giveth 2.0 implementation in NextJS
https://next.giveth.io
GNU General Public License v3.0
20 stars 13 forks source link

Torus sign-in with reddit throws error #36

Open divine-comedian opened 3 years ago

divine-comedian commented 3 years ago

next.giveth Testing brave browser with clean cache and cookies. Attempting to log into torus with my reddit account, I click the reddit button on the sign in pop-up, it opens a new window and shows

bad request (reddit.com)
you sent an invalid request

— invalid redirect_uri parameter.

image.png

divine-comedian commented 3 years ago

Successful sign-in with reddit using Torus! however it opens in the torus log-in window instead of updating the login on the original window.

brave, next.giveth clean cache and cookies

image

image

Is there anything that can be done about this or is it just another quirk from Torus that we have to live with? @mateodaza

divine-comedian commented 3 years ago

@mateodaza bump please clarify on my comment above

mateodaza commented 3 years ago

moved it to in progress. will get back at this soon. I totally missed your comments haha my bad

mateodaza commented 3 years ago

The flow for some reason seems that I need to do it manually, to get the token from the oauth flow, which sucks and it's weird. For now I'll just hide the reddit option until I have time to figure out how to fix it. I don't believe this is that important to give it this amount of time. We can go back at this later.

WEIRD, don't like it haha