Rishabh-malhotraa / caucus

Realtime Collaborate Editor with Embedded Compiler
https://caucus.rishabhmalhotra.in/
MIT License
295 stars 70 forks source link

Login using providers is not working on local #75

Closed taksuparth closed 2 years ago

taksuparth commented 2 years ago

Describe the bug Login using providers is not working.

To Reproduce Steps to reproduce the behavior:

  1. On the Login page click on Google or Github

Expected behavior

Additional context generated URL is incorrect. In caucus/src/pages/Login/Login.tsx handleLogin function is creating URL as ${backend_URL}/auth/${provider} but the provider is given as /google /github making incorrect request as ${backend_URL}/auth//google instead of ${backend_URL}/auth/google

Rishabh-malhotraa commented 2 years ago

Thanks for raising the issue @taksuparth , I'll take a look

taksuparth commented 2 years ago

Closing this issue as fix for this is merged!