[keycloak-user] Same user with different "sub" in JWT Token?

Stian Thorgersen sthorger at redhat.com
Wed Feb 24 00:53:10 EST 2016


Not sure why you would want to. The user id isn't sensitive information.

This is not something we'd support out of the box, but you should be able
to use a custom protocol mapper to do this.

On 24 February 2016 at 00:23, Sylvain Auger-Léger <tyvain at gmail.com> wrote:

> Hi,
>
> Is it possible to setup keycloak so that:
> the JWT "sub" attribute would be different in every client for the same
> user ?
>
> This is to prevent from crossing information between clients.
>
> Thank you.
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160224/c747b0b6/attachment-0001.html 


More information about the keycloak-user mailing list