Sample spring boot saml working application to code and debug the working of the SAML SSO spring boot code
// momentum
// why it's here
- Active: last commit today
- Health 90/100 with only 6 stars
- Around since 2020 and still shipping
// how to help
// readme
Spring Boot SSO Learning
Hands-on chapters for Single Sign-On with Spring Boot β each module is a small, runnable Service Provider you can build, configure, and debug.
Chapters
| Chapter | Title | Module / Path | Summary |
|---|---|---|---|
| 0 | SSO And SAML Basics | notes | Terms, roles, and the SAML browser login flow before you touch code |
| 1 | Spring SAML | spring-saml |
Generic SAML 2.0 SP with Spring Securityβs built-in SAML2 support |
| 2 | Spring SAML With Okta | spring-saml-okta |
Same stack, focused on Okta app integration and metadata URL setup |
Planned later: OpenID Connect / OAuth2 login, Keycloak-focused examples.
Prerequisites
- Java 21+
- Maven Wrapper (
./mvnw) β no global Maven install required opensslwhen you run a module against a real IdP (local SP keypair)- An Identity Provider for live login (Okta Developer, Keycloak, SimpleSAMLphp, β¦)