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

[app] SessionError: INVALID_CLAIMS error Status 500 upon login #596

Closed
n1ru4l opened this issue Nov 4, 2022 · 1 comment · Fixed by #597
Closed

[app] SessionError: INVALID_CLAIMS error Status 500 upon login #596

n1ru4l opened this issue Nov 4, 2022 · 1 comment · Fixed by #597

Comments

@n1ru4l
Copy link
Collaborator

n1ru4l commented Nov 4, 2022

I get the following error when logging in on staging using email + password.

image

Logs from app

yarn run v1.22.15
warning package.json: No license field
$ /app/node_modules/.bin/app
started server on localhost:3000, url: http://localhost:3000
SessionError: INVALID_CLAIMS
    at Session.<anonymous> (/app/node_modules/supertokens-node/lib/build/recipe/session/sessionClass.js:146:27)
    at Generator.next (<anonymous>)
    at fulfilled (/app/node_modules/supertokens-node/lib/build/recipe/session/sessionClass.js:15:36)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  type: 'INVALID_CLAIMS',
  payload: [ { id: 'st-ev', reason: [Object] } ],
  errMagic: 'ndskajfasndlfkj435234krjdsa',
  fromRecipe: 'session'
}
@n1ru4l
Copy link
Collaborator Author

n1ru4l commented Nov 4, 2022

Figured out the root cause - it is an edge case when you registered before but did not confirm your email - or turn on email verification via the AUTH_REQUIRE_EMAIL_VERIFICATION flag.

This will be solved via #597

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant