get-convex / get-convex/chef

Auth issues in self hosted

Open
#911 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.6k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

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=, 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!

Contributor guide

Open the contributing guide

Research direction

Start with the self-hosted Chef guide and the .env.development value for WORKOS_CLIENT_ID. Compare that configuration with VITE_WORKOS_REDIRECT_URI and the redirect URI reported by WorkOS, then verify that repeated login attempts consistently complete team selection without the redirect error.

Written by the indexing model from the issue text.

Assessment

Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.