Skip to content

Invalid origin, Vite API proxy #1

Description

@MatteoGauthier

Got this error when I'm running pnpm dev

ERROR [Better Auth]: Invalid origin: http://localhost:5173
[1] 2025-01-27T11:02:22.268Z INFO [Better Auth]: If it's a valid URL, please add http://localhost:5173 to trustedOrigins in your auth config
[1]  Current list of trustedOrigins: http://localhost:3000/api/auth,http://localhost:3000

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions