We don't support using an iframe as it opens potential exploits (clickjacking, csrf,
If you are willing to accept the risk of these, or can mitigate them yourself, you can
implement this flow yourself in your application. Basically create a "login" and
callback pages on your app. The login page would redirect to Keycloak login page, Keycloak
would then redirect back to the callback page which is used to send the token to the main
window using window.postMessage.
----- Original Message -----
From: "Christoph Machnik"
Sent: Monday, February 9, 2015 10:58:14 AM
Subject: [keycloak-user] Integrate the Keycloak Login view in my own html with iframe
I have a html-frontend and i want to show the loginpage from keycloak as a
part of this frontend and not redirect to the loginpage. Is there a
possibility to do this ?
My first thougt was an iframe, but what is the src for this ?
<iframe src=" [Keycloak login view] "></iframe>
keycloak-user mailing list