This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Description
Issue description
I'm using grails-spring-security-rest version 5.0.0 with grails 6.2.2
When trying to log in with Google2Client, I'm getting the following error:
Cannot invoke "org.pac4j.core.context.session.SessionStore.set(org.pac4j.core.context.WebContext, String, Object)" because "sessionStore" is null
Trying to debug, I saw that in RestOauthService it is passing the sessionStore as null:

And it's used in final Optional<Credentials> getCredentials:

What could I be doing wrong?
If I customize the client, overriding retrieveCredentials to use JEESessionStore.INSTANCE.
The exception is thrown in cleanAttemptedAuthentication. which I was unable to override.