Open reimerwilliam opened 2 years ago
Tagging @tractorcow @unclecheese
Where is LoginSessionMiddleware
? I don't see it anywhere in the core or this module.
Where is
LoginSessionMiddleware
? I don't see it anywhere in the core or this module.
It's in silverstripe/session-manager.
Happening to me as well, @tractorcow did you manage to have a look? I've disabled LoginSessionMiddleware
for now but will poke around a bit more tomorrow and see if I can figure out what's going on.
I might have a look somewhere this weekend... but no promises...
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