Skip to content

[BUG]: Google OAuth login not working locally (no NextAuth handler found) #302

@Alqamaq

Description

@Alqamaq

Description

Environment

  • OS: Windows 10
  • Node: 18+
  • pnpm
  • Local setup (no Docker)

Issue

Google OAuth login redirects to:
http://localhost:3000/api/auth/error?error=AccessDenied

Observations

  • Repository does not contain pages/api/auth/[...nextauth].ts
  • Google OAuth setup steps are not documented
  • NEXTAUTH_* env variables are present but no clear handler exists

What I tried

  • Correct redirect URI and JS origin
  • OAuth consent screen (External + Test User added)
  • Restarted servers / Incognito

Question

How is Google OAuth supposed to be configured in this repo?
Is there a missing setup step or is this feature incomplete?
Is there any additional backend or NextAuth configuration
(signIn callback / domain restriction / env variable)
required for Google OAuth to work locally?

Steps to Reproduce

1 .Go to homepage and click on Get Started
2. Click on Continue with google
3. Then page appear of Access Denied

Expected Behavior

After click on Continue with Google it should login in google

Actual Behavior

But it shows Access Denied error page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions