Add Instructions for Running Sample

This commit is contained in:
Josh Cummings
2023-02-23 15:00:44 -07:00
parent 9f1bec08f0
commit 8dd6a32e82
2 changed files with 40 additions and 0 deletions

View File

@@ -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
```

View File

@@ -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
```