OneSignalDevelopers / ngosi

Share your slides with a QR code
https://ngosi.io
MIT License
9 stars 5 forks source link

OAuth redirect points to localhost dev instead of ngosi.io #65

Open iAmWillShepherd opened 2 years ago

iAmWillShepherd commented 2 years ago
Email link

https://rhiklmqymyrelhzwdgbq.supabase.co/auth/v1/verify?token=YdsVkWFaq9gsfYv0VJp6Jw&type=signup&redirect_to=https://localhost:3000

Error redirect link

https://localhost:3000/#error_code=404&error_description=Confirmation+Token+not+found

Yohanan-Negash commented 2 years ago

@iAmWillShepherd Would this issue be solved if we change the redirect URI from localhost dev to ngosi.io? I wanted to go ahead and try this but I don't know which platform we used to register ngosi for OAuth.

iAmWillShepherd commented 2 years ago

I think it's best to control this from an environment variable this should work in your local dev machine in adding to production.