Skip to content
Discussion options

You must be logged in to vote

Maybe there's a misconception here: What do you mean by "orphaned" above? Keycloak's session is more of a "parent" than a "child" of the BFF one.

The user session on Keycloak should be set to match the SSO needs (Single Sign-On): it determines how long the user can be authenticated without providing credentials, regardless of the client. The BFF for your SPA is one client, but other clients could use the same realm, being delivered tokens for the same user without him needing to input credentials, as long as he uses the same browser session within Keycloak's session lifetime.

If you consider the SSO session too long, lower it in Keycloak, keeping in mind that SSO is a great user experienc…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ch4mpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants