Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Next Auth ([...nextauth] route.ts) Doesn't work on Localhost #34

Closed
@josephna76

Description

The sign-up works but the sign-in doesn't on Localhost. Both sign-in and sign-up work on Vercel's hosted version.
The project was created using the one-click deployment to Vercel on Jun 23, 2023.

The message "Signed in as X" appears but the three dot loading state over the Sign In button does not end and the page gets stuck before getting to /protected.

I get this error - error TypeError [ERR_INVALID_URL]: Invalid URL. Am I unable to reach /protected despite being signed in because localhost is not an https route, whereas the Vercel deployed version is? http://localhost:3000/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /