# How to perform IDP initiated login in keycloak saml

**URL:** <https://forum.keycloak.org/t/how-to-perform-idp-initiated-login-in-keycloak-saml/20476>\
**Category:** Configuring the server\
**Tags:** authentication, saml\
**Created:** [February 24, 2023, 7:03am UTC](https://forum.keycloak.org/t/how-to-perform-idp-initiated-login-in-keycloak-saml/20476 "2023-02-24T07:03:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [February 24, 2023, 7:47am UTC](https://forum.keycloak.org/t/how-to-perform-idp-initiated-login-in-keycloak-saml/20476/2 "2023-02-24T07:47:58Z")

</div>

This post is somewhat old, but I have used it as a guide when implementing IdP initiated login. The example is specific to Okta SAML, but it shouldn’t be too hard to adapt it to other IdP types: [https://www.lisenet.com/2020/keycloak-with-okta-idp-initiated-sso-login/](https://www.lisenet.com/2020/keycloak-with-okta-idp-initiated-sso-login/)

The Keycloak docs are here, but I’ve found them fairly hard to follow: [keycloak-documentation/idp-initiated-login.adoc at main · keycloak/keycloak-documentation · GitHub](https://github.com/keycloak/keycloak-documentation/blob/main/server_admin/topics/clients/saml/idp-initiated-login.adoc)

---

_[View the full topic](https://forum.keycloak.org/t/how-to-perform-idp-initiated-login-in-keycloak-saml/20476)._
