Skip to content

[Bug] OAuth login fails [ Google & Github ] #134

Description

@Codewithpabitra

Describe the bug
OAuth authentication fails . sign in with google and github fails after clicking those showing the error shown in the screenshot . And it is happening on the deployed URL on render.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://autodoc-ai-jrr2.onrender.com/login'
  2. Perform action - click continue with "Google" or "Github"
  3. See error in red - "OAuth is not configured. Set up Supabase environment variables."
  4. that means supabase is not configured under environments.

Expected behavior
Should login with proper appearance of the google accounts available to user.

Environment Details

  • OS/Environment: [e.g. Windows 11]
  • Runtime/Version: [e.g. Node v20]

another issue in the code -

Image

see router.post("/supabase",supabaseLogin); is present but supabaseLogin is not imported in the file although that is defined in the /api/controllers/authController.js just like the issue #133

Screenshots & Logs
for reference of issue ->

Image

Metadata

Metadata

Labels

Harddeep dive!!!SSoC26bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions