Technologies: Spring-boot, Java 11, Okta, Keycloak
[X] Libs configuration
[X] Keycloak configuration for new application
[X] SAML connection for kecloak
[X] Okta configuration for new application
[X] Tests with new profile
-
Create keystore
keytool -genkeypair -alias demosaml2 -keypass saml123456 -keystore saml-keystore.jks -keyalg RSA -keysize 2048
-
Export cert and import into IDP (Identity Provider)
keytool -export -keystore saml-keystore.jks -alias demosaml2 -file saml2.cer
-
Add form cert into IDP (** not tested yet **)
keytool -importcert -alias myidp -file saml2.cer -keystore saml-keystore.jks
- On the Configure SAML page, click Show Advanced Settings*.
- Select the check box to Allow application to initiate Single Logout.
- Configure properties:
- Single Logout url: http://localhost:8080/spring-security-saml2-sample/saml/logout
- SP Issuer : http://localhost:8080/spring-security-saml2-sample/saml/metadata
- Created certificate (saml2.cer) and uploaded.
MIT