Skip to content

Auth issues in self hosted #911

@afreydev

Description

@afreydev

Hello! I'm following your guide to run Chef on localhost using a local Convex deployment. I've configured the project with these variables:

CONVEX_SELF_HOSTED_URL
CONVEX_SELF_HOSTED_ADMIN_KEY

I've successfully created an OAuth app in the Convex dashboard, but I have a question about the WORKOS_CLIENT_ID. Is this the same value referenced in your guide as WORKOS_CLIENT_ID=<value from .env.development>, or should it be something different?
Checking that file, I have this value: client_01K0YV0SNPRYJ5AV4AS0VG7T1J
Additionally, I'm encountering this error: https://error.workos.com/sso/redirect-uri-invalid
Could you help me understand the correct WORKOS_CLIENT_ID value and how to resolve the redirect URI error?

Is it required to define VITE_WORKOS_REDIRECT_URI?

In some instances, it appears to be working because I can select the team, but after another login attempt, it fails again.

Thanks!

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