I’m trying to get this extension running
After deploying the extension to my server and following the tutorial in the linked repo, I get this error, regardless of whether the user is signed in:
Aug 02 01:40:52 xstage standalone.sh[313756]: 01:40:52,487 WARN [org.keycloak.services] (default task-2) KC-SERVICES0013: Failed authentication: java.lang.NullPointerException: Cannot invoke "org.keycloak.models.UserModel.isMemberOf(org.keycloak.models.GroupModel)" because "user" is null
Aug 02 01:40:52 xstage standalone.sh[313756]: at deployment.isdqxd0xfz1x7jmxq1pccbnnw40abqj9-auth-require-group-extension-1.0.0.0-SNAPSHOT.jar//com.github.thomasdarimont.keycloak.auth.requiregroup.RequireGroupAuthenticator.isMemberOfGroup(RequireGroupAuthenticator.java:47)
Aug 02 01:40:52 xstage standalone.sh[313756]: at deployment.isdqxd0xfz1x7jmxq1pccbnnw40abqj9-auth-require-group-extension-1.0.0.0-SNAPSHOT.jar//com.github.thomasdarimont.keycloak.auth.requiregroup.RequireGroupAuthenticator.authenticate(RequireGroupAuthenticator.java:29)
Aug 02 01:40:52 xstage standalone.sh[313756]: at org.keycloak.keycloak-services@15.0.0//org.keycloak.authentication.DefaultAuthenticationFlow.processSingleFlowExecutionModel(DefaultAuthenticationFlow.java:446)
Aug 02 01:40:52 xstage standalone.sh[313756]: at org.keycloak.keycloak-services@15.0.0//org.keycloak.authentication.DefaultAuthenticationFlow.processFlow(DefaultAuthenticationFlow.java:253)
Aug 02 01:40:52 xstage standalone.sh[313756]: at org.keycloak.keycloak-services@15.0.0//org.keycloak.authentication.AuthenticationProcessor.authenticateOnly(AuthenticationProcessor.java:990)
I’ve tried a bunch of things, but none seems to have any effect.
Does anyone have pointers any for me?