# 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 (opens new window) 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 inSAML 2 Profiles (opens new window).

Since 2009, support for relying parties has existed as an extension project (opens new window). In 2019, the process began to port that into Spring Security (opens new window) proper. This process is similar to the one started in 2017 for Spring Security’s OAuth 2.0 support.

A working sample for SAML 2.0 Login (opens new window) is available in the Spring Security Samples repository (opens new window).

# Section Summary

SAML2SAML2 Log In Overview