[keycloak-user] automatic user cleanup with UserSessionProvider SPI

Stian Thorgersen sthorger at redhat.com
Mon Nov 14 03:11:37 EST 2016

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