Logging in with Github creates a problem.
It’s trying to connect to http://localhost:8000/auth
Maybe it needs to be updated to https://dnvr-zero-be.vercel.app/auth
though perhaps a better solution would be to create some sort of logic for that button:
if production environment
go to https://dnvr-zero-be.vercel.app/auth
else
go to http://localhost:8000/auth
end
I imagine the easiest thing to do would be to create 2 buttons; one that goes to production, and one that goes to development. And either display one button or the other, depending on environment
EDIT 1 (mm):
- I've updated the href to
https://dnvr-zero-be.vercel.app/auth
- Perhaps we still need to add the logic above for different ENV?
- Attempt to login with GH....and see error there
Logging in with Github creates a problem.
It’s trying to connect tohttp://localhost:8000/authMaybe it needs to be updated to
https://dnvr-zero-be.vercel.app/auththough perhaps a better solution would be to create some sort of logic for that button:
I imagine the easiest thing to do would be to create 2 buttons; one that goes to production, and one that goes to development. And either display one button or the other, depending on environment
EDIT 1 (mm):
https://dnvr-zero-be.vercel.app/auth