One feature on a page
One self-service feature inside this page. Pick the feature; the frame takes the height the feature reports.
Several features on one page
Three features side by side, each in a frame of its own. They share one sign-in: signing in in one signs in the others after a reload.
How the frame signs the user in
- Signed in The user is signed in to the self-service already: the feature appears at once.
- Silent The user is signed in to Keycloak, but not to the self-service: the frame signs in without showing anything.
- Popup Neither works, for example because the browser blocks third-party cookies: the frame shows a button that opens a small sign-in window.
Messages from the self-service
A feature the user may not use
The self-service decides by the user's roles. Sign in as a user without the permission for the feature, and the frame says it isn't available, instead of showing the feature.
In the local stack: sign in as noroles (deploy/keycloak/test-users.json).