[keycloak-user] enabling token exchange between multiple relams

Madhu kkcmadhu at yahoo.com
Thu May 16 11:13:31 EDT 2019


  Hi,

I have a weird use case where i am running 3 keycloaks  different keycloak instances, i have same  a common set of users in all the 3 instances, and i want token minted from one keycloak instance to be honored in another,  i.e. if i log in to keycloak 1 and get a bearer token, i want this token to be valid in keycloak 2 and keycloak 3, is there a way to achieve this, i refered the token exchange links (internal to external) ,but what i am not sure is, how should i invoke the 2nd keycloak instance   ( should a bearer token alone is sufficient, or do i need to pass additional parameters in the post).  I generally use the keycloakResttemplate for any invocation, will keycloakresttemplate be able to handle token exchange cases as well?
RegardsMadhu


More information about the keycloak-user mailing list