Noteslify
Noteslify copied to clipboard
Fix Github And Google OAuth In Public Version
Github And Google OAuth ENV are asked while deploying the application, but haven't added it on the website
The website fails to connect with Oauth when the front end is hosted on Vercel and the backend on Heroku/alternatives. Only works locally.
Hi, @devarshishimpi, I just recently came across this project, this error may be caused because you might not have added your environment variables on your project's dashboard on Vercel (in project settings).
Hi, @devarshishimpi, I just recently came across this project, this error may be caused because you might not have added your environment variables on your project's dashboard on Vercel (in project settings).
@AviAvinav Since the environment variable are present as a part of the backend. Vercel doesn't have any environment variables + Frontend based on React so no Environment variables in frontend. All of them have been added to backend hosting like Heroku. Is there some issue with it, a fix to it?
I am not sure how to fix this in that case, haven't used heroku much.
If you can share the hosted link where it is failing, maybe I can check what's wrong
If you can share the hosted link where it is failing, maybe I can check what's wrong
Hmm, It works fine and lets us authorize with Github and Google but after which fails at Callback. You can try it by Self Hosting it on Heroku 😄 .