From 8dd6a32e8244ee7af63513503701be5d023c58d7 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Thu, 23 Feb 2023 15:00:44 -0700 Subject: [PATCH] Add Instructions for Running Sample --- .../java/saml2/custom-urls/README.adoc | 20 +++++++++++++++++++ .../saml-extension-federation/README.adoc | 20 +++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/servlet/spring-boot/java/saml2/custom-urls/README.adoc b/servlet/spring-boot/java/saml2/custom-urls/README.adoc index 5339190..b38016d 100644 --- a/servlet/spring-boot/java/saml2/custom-urls/README.adoc +++ b/servlet/spring-boot/java/saml2/custom-urls/README.adoc @@ -81,3 +81,23 @@ Since we are forwarding from one URL to another, we should also register it for The `RelyingPartyRegistration` properties should also be customized to match the values that were used by the SAML Extension (see <2>, <3> and <4> above). +== Run the Sample + +=== Start up the Sample Boot Application +``` + ./gradlew :servlet:spring-boot:java:saml2:custom-urls:bootRun +``` + +=== Open a Browser + +http://localhost:8080/ + +You will be redirected to the Okta SAML 2.0 IDP + +=== Type in your credentials + +``` +User: testuser2@spring.security.saml +Password: 12345678 +``` + diff --git a/servlet/spring-boot/java/saml2/saml-extension-federation/README.adoc b/servlet/spring-boot/java/saml2/saml-extension-federation/README.adoc index 9c48146..6db51c6 100644 --- a/servlet/spring-boot/java/saml2/saml-extension-federation/README.adoc +++ b/servlet/spring-boot/java/saml2/saml-extension-federation/README.adoc @@ -76,3 +76,23 @@ spring: The `RelyingPartyRegistration` properties should also be customized to match the values that were used by the SAML Extension (see <2>, <3> and <4> above). +== Run the Sample + +=== Start up the Sample Boot Application +``` + ./gradlew :servlet:spring-boot:java:saml2:saml-extension-federation:bootRun +``` + +=== Open a Browser + +http://localhost:8080/ + +Select the first IdP listed. +You will be redirect to the Okta SAML 2.0 IDP + +=== Type in your credentials + +``` +User: testuser2@spring.security.saml +Password: 12345678 +```