Sample SAML implementation
Switch branches/tags
Nothing to show
Clone or download
Latest commit cd170c8 Aug 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper Sample java SSO using SAML Aug 27, 2018
src/main Sample java SSO using SAML Aug 27, 2018
.gitignore Sample java SSO using SAML Aug 27, 2018
README.md Update README.md Aug 28, 2018
build.gradle Sample java SSO using SAML Aug 27, 2018
gradlew Sample java SSO using SAML Aug 27, 2018
gradlew.bat Sample java SSO using SAML Aug 27, 2018
settings.gradle Sample java SSO using SAML Aug 27, 2018

README.md

SAML Java

Sample SAML implementation for Java application

This project contains a simple SAML implementation for a java spring boot application

Configuration

Setting up IDP

Create an application corresponding to this test application in your IDP (ssoCircle/Okta/Onelogin).

Environment variables

APP_ID=<"APP ID from IDP">

ENTITY_ID=<"ENTITY ID FROM IDP">

IDP_METADATA_URL=<"METADATA URL for IDP">

Running the application

Start the SAMLApplication class and hit localhost:8443. You will be taken to your IDP and back to the index page once you provide valid login credentials. You can logout from the link provided in the index page.