[keycloak-user] Multiple clients, same realm, cross-client REST calls

Pieter Lukasse pieter at thehyve.nl
Mon Apr 9 07:03:16 EDT 2018


Basically I need a single session to be valid at 2 different client
applications that are connected to the same realm. Not possible?

Pieter Lukasse


E.   pieter at thehyve.nl

T.   +31(0)30 700 9713

W.  www.thehyve.nl


We empower scientists by building on open source software

2018-04-04 10:40 GMT+02:00 Pieter Lukasse <pieter at thehyve.nl>:

> Hi,
>
> I have a use case for the following scenario:
>
>
>    - 2 clients connected to the same Keycloak realm (via SAML)
>    - user logs in to 1st client and opens a webpage that makes REST API
>    calls to both 1st and 2nd client apps
>
> Currently the calls to the REST API of the 2nd client app fail with 401
> error (not authorized). Any hints on how to get this working? Except for
> this specific use case, SSO is working across both apps (i.e. when the user
> is logged in to client 1 and then browses to client 2, he does not need to
> fill in user name and password again).
>
> Thanks,
>
> Pieter Lukasse
>
>
> E.   pieter at thehyve.nl
>
> T.   +31(0)30 700 9713
>
> W.  www.thehyve.nl
>
>
> We empower scientists by building on open source software
>


More information about the keycloak-user mailing list