# SAML 2.0 Login

The SAML 2.0 Login feature provides an application with the capability to act as a SAML 2.0 Relying Party, having users [log in](https://wiki.shibboleth.net/confluence/display/CONCEPT/FlowsAndConfig) to the application by using their existing account at a SAML 2.0 Asserting Party (Okta, ADFS, etc).

|   |SAML 2.0 Login is implemented by using the **Web Browser SSO Profile**, as specified in[SAML 2 Profiles](https://www.oasis-open.org/committees/download.php/35389/sstc-saml-profiles-errata-2.0-wd-06-diff.pdf#page=15).|
|---|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

Since 2009, support for relying parties has existed as an [extension project](https://github.com/spring-projects/spring-security-saml/tree/1e013b07a7772defd6a26fcfae187c9bf661ee8f#spring-saml).
In 2019, the process began to port that into [Spring Security](https://github.com/spring-projects/spring-security) proper.
This process is similar to the one started in 2017 for [Spring Security’s OAuth 2.0 support](../../oauth2/index.html).

|   |A working sample for [SAML 2.0 Login](https://github.com/spring-projects/spring-security-samples/tree/5.6.x/servlet/spring-boot/java/saml2/login) is available in the [Spring Security Samples repository](https://github.com/spring-projects/spring-security-samples/tree/5.6.x).|
|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

## Section Summary

* [SAML2 Log In Overview](overview.html)
* [SAML2 Authentication Requests](authentication-requests.html)
* [SAML2 Authentication Responses](authentication.html)

[SAML2](../index.html)[SAML2 Log In Overview](overview.html)