|
|
|
@ -72,10 +72,10 @@ class SampleOAuth2AuthorizationServerApplicationTests { |
|
|
|
assertThat(config.getTokenRevocationEndpoint()).hasToString("https://provider.com/revoke"); |
|
|
|
assertThat(config.getTokenRevocationEndpoint()).hasToString("https://provider.com/revoke"); |
|
|
|
assertThat(config.getEndSessionEndpoint()).hasToString("https://provider.com/logout"); |
|
|
|
assertThat(config.getEndSessionEndpoint()).hasToString("https://provider.com/logout"); |
|
|
|
assertThat(config.getTokenIntrospectionEndpoint()).hasToString("https://provider.com/introspect"); |
|
|
|
assertThat(config.getTokenIntrospectionEndpoint()).hasToString("https://provider.com/introspect"); |
|
|
|
assertThat(config.getPushedAuthorizationRequestEndpoint()).hasToString("https://provider.com/par"); |
|
|
|
|
|
|
|
assertThat(config.getUserInfoEndpoint()).hasToString("https://provider.com/user"); |
|
|
|
assertThat(config.getUserInfoEndpoint()).hasToString("https://provider.com/user"); |
|
|
|
// OIDC Client Registration is disabled by default
|
|
|
|
// PAR endpoint and OIDC Client Registration are disabled by default
|
|
|
|
assertThat(config.getClientRegistrationEndpoint()).isNull(); |
|
|
|
assertThat(config.getClientRegistrationEndpoint()).isNull(); |
|
|
|
|
|
|
|
assertThat(config.getPushedAuthorizationRequestEndpoint()).isNull(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
@ -91,9 +91,9 @@ class SampleOAuth2AuthorizationServerApplicationTests { |
|
|
|
assertThat(config.getJwkSetUrl()).hasToString("https://provider.com/jwks"); |
|
|
|
assertThat(config.getJwkSetUrl()).hasToString("https://provider.com/jwks"); |
|
|
|
assertThat(config.getTokenRevocationEndpoint()).hasToString("https://provider.com/revoke"); |
|
|
|
assertThat(config.getTokenRevocationEndpoint()).hasToString("https://provider.com/revoke"); |
|
|
|
assertThat(config.getTokenIntrospectionEndpoint()).hasToString("https://provider.com/introspect"); |
|
|
|
assertThat(config.getTokenIntrospectionEndpoint()).hasToString("https://provider.com/introspect"); |
|
|
|
assertThat(config.getPushedAuthorizationRequestEndpoint()).hasToString("https://provider.com/par"); |
|
|
|
// PAR endpoint and OIDC Client Registration are disabled by default
|
|
|
|
// OIDC Client Registration is disabled by default
|
|
|
|
|
|
|
|
assertThat(config.getClientRegistrationEndpoint()).isNull(); |
|
|
|
assertThat(config.getClientRegistrationEndpoint()).isNull(); |
|
|
|
|
|
|
|
assertThat(config.getPushedAuthorizationRequestEndpoint()).isNull(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
|