Session sharing with 2 clients with 2 different protocols

Hi,

i have a realm where one client is with protocol openid(client1) and another with saml (cleint2).

Is it possible to share the session between the clients if the user logs in with client1 and can be used with client2.

That works already by default in the Keycloak (if session means that user doesn’t need to login again). Of course you need to have proper implementation/flow where IDP session is created - that’s for example not a case of OIDC Direct Access Grants flow.

Does this work, even if the keycloak clients are with 2 different protocols?

As I said yes. Why you don’t try it? That is the fastest option how to get answer without reading doc.

1 Like