KeyCloak supports SAML SSO via a KeyCloak login page. After logging in here a browser session is created which allows redirection to client application webpages without further logins. This works. However, I would like to use my own login page and scripts before redirecting users to a client application webpage.
I have been able to use the login credentials of a user (with admin rights) to successfully request an bearer access token from the Keycloak server. But this does not create a browser session.
I have not found any call in the documentation that seems like a session-creating login endpoint (https://documenter.getpostman.com/view/7294517 OR https://documenter.getpostman.com/view/7294517).
Any direction or advice would be appreciated. I work in PHP so far and have been submitting my API calls as cURL requests from PHP, sometimes testing with Postman.