Point SAML Sample at Okta

This commit is contained in:
Josh Cummings 2022-05-16 14:00:56 -06:00
parent 5f7fc0eb26
commit 957768310d
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
2 changed files with 38 additions and 48 deletions

File diff suppressed because one or more lines are too long

View File

@ -28,7 +28,7 @@ public class SecurityConfig {
@Bean @Bean
RelyingPartyRegistrationRepository relyingPartyRegistrationRepository() { RelyingPartyRegistrationRepository relyingPartyRegistrationRepository() {
RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistrations RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistrations
.fromMetadataLocation("https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/metadata.php") .fromMetadataLocation("https://dev-05937739.okta.com/app/exk46xofd8NZvFCpS5d7/sso/saml/metadata")
.registrationId("one") .registrationId("one")
.build(); .build();
return new InMemoryRelyingPartyRegistrationRepository(relyingPartyRegistration); return new InMemoryRelyingPartyRegistrationRepository(relyingPartyRegistration);