<div dir="ltr"><div><div><div><div>Hi,<br><br></div>How can I obtain a bearer token from keycloak without using the direct access grant (<a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/direct-access-grants.html">http://keycloak.github.io/docs/userguide/keycloak-server/html/direct-access-grants.html</a>).<br><br></div><div>I have configured a SAML Identity Broker in Keycloak which handles the login for my realm. As a result I do not have a username/password combination to POST it to:<br><br><code class="">/{keycloak-root}/realms/{realm-name}/protocol/openid-connect/toke</code>n<br></div><div><br></div><div>How would I obtain a bearer token in this situation?<br><br></div></div>Kind regards,<br><br></div>Ton<br></div>