[keycloak-user] Custom entity mapping to User entity

Marek Posolda mposolda at redhat.com
Mon Dec 5 06:35:31 EST 2016


If you already have some existing entity (which means that you have some 
existing DB with your entities), then it's probably best to write your 
own userStorage provider. See docs and examples for more details (The 
docs is work in progress though)

Marek

On 05/12/16 10:28, Eriksson Fabian wrote:
> Hello!
>
> We are currently looking for an authentication/authorization/access management provider to use for our applications and we happily stumbled upon Keycloak. As of this moment we are looking into if Keycloak fits all of our requirements and if it doesn't how we can modify it to fit our needs.
>
> So; we need to add our own entities to Keycloak (which we've seen is possible) but we also have to map some of these entities to the already existing User entity and in the end, have it included inside the ID token.
>
> If this is possible, could you maybe give us a short description of how to do this, that would be much appreciated
>
> Best Regards
> Fabian Eriksson
>
> _______________________________________________
> 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