[keycloak-user] [Custom User Federation] - Access to the ClientModel on a custom UserStorageProvider

Bill Burke bburke at redhat.com
Thu Mar 9 16:44:57 EST 2017


Yes, you'll have to implement an Authenticator for this


On 3/9/17 4:11 PM, Pierre-Emmanuel PEDRON wrote:
> Hello,
>
>
>
> I develop a custom user federation (oidc - grant password) to call a legacy
> authentication service.
>
>
>
> On isValid() method, I want to access to the ClientModel to retrieve some
> information I need (clientId and its roles) to call the legacy web service. But
> I don’t know how…
>
> The KeycloakSession is not enough to access to these information. I need to
> get the ClientSession.
>
>
>
> Do I make a custom authenticator to set the ClientModel to the
> KeycloakSession ? Any Ideas ?
>
> This is a bottle in the sea J
>
>
>
> Many thanks,
>
> Regards,
> Pierre-Emmanuel Pedron
>



More information about the keycloak-user mailing list