-
Notifications
You must be signed in to change notification settings - Fork 23
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
LoginSessionMiddleware logs out user on token validation #36
Comments
Tagging |
Where is |
It's in silverstripe/session-manager. |
Happening to me as well, @tractorcow did you manage to have a look? I've disabled |
I might have a look somewhere this weekend... but no promises... |
…on token validation
Using the Graphql 4 upgrade branch from unclecheese you won't be able to validate a token due to the LoginSessionMiddleware from silverstripe/session-manager not being able to find a session and therefore calling logOut on the IdentityStore. A temporary fix to this problem is to disable that middleware.
The code causing the problem in LoginSessionMiddleware:
The versions I used when encountering this issue:
silverstripe/cms: 4.10.2
silverstripe/framework: 4.10.10
silverstripe/graphql: 4.0.0-alpha3
There was a short discussion regarding this in the slack channel:
https://silverstripe-users.slack.com/archives/C39NVTQNQ/p1658213656127059
The text was updated successfully, but these errors were encountered: