Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing cookie password throws a confusing error #112

Open
PaulAsjes opened this issue Oct 16, 2024 · 1 comment · May be fixed by #153
Open

Missing cookie password throws a confusing error #112

PaulAsjes opened this issue Oct 16, 2024 · 1 comment · May be fixed by #153
Assignees

Comments

@PaulAsjes
Copy link
Collaborator

PaulAsjes commented Oct 16, 2024

The callback route logic throws an unhelpful

{ error: "Empty password" }

error if the cookie password is missing from the env variables.

@PaulAsjes PaulAsjes self-assigned this Oct 16, 2024
@sergesteban
Copy link

I would also suggest to update this error message

{ error: 'Password string too short (min 32 characters required)' }

I didn’t actually notice at first, but I was missing characters in WORKOS_COOKIE_PASSWORD. I think the problem here is DX imo, since everything was flowing smoothly, and I didn’t notice the missing characters.
I regenerated the password, and it started working again after that. I would’ve appreciated something like a hint on Cookie password string....

thanks!

@PaulAsjes PaulAsjes linked a pull request Dec 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants