[keycloak-user] automatic user cleanup with UserSessionProvider SPI

Brian Schwartz schwartzbj17 at gmail.com
Mon Nov 14 11:06:29 EST 2016

The "why" is a long story.  Out of my control.
I followed the docs and wasn't able to get it working.  I will get back to
it soon and report back with details.

Thanks for the reply.

On Nov 14, 2016 2:11 AM, "Stian Thorgersen" <sthorger at redhat.com> wrote:

> Look at providers docs. You need to set your custom provider as the
> default provider. Deleting users when session is deleted doesn't sound like
> a brilliant idea though. Why do you want to do that?
> On 9 Nov 2016 17:47, <schwartzbj17 at gmail.com> wrote:
>> Is there a way using one of the service provider interfaces to
>> automatically delete users when the user session expires?  I tried the
>> UserSessionProvider, but am not sure how to install it and have Keycloak
>> use it.  I tried installing it in the providers folder to no avail.   I
>> tried installing it as a module to no avail.  Anyone have a working example
>> of this provider?
>> I’ve successfully built and installed other SPIs without issue, but those
>> had working examples in the keycloak documentation and/or GitHub.
>> I’m using Keycloak 2.3.0.Final
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user

More information about the keycloak-user mailing list