Upgrading
The jEAP OAuth Mock Server is based on Spring Security Authorization Server. A few classes are intentionally patched to provide behaviour that the upstream defaults do not provide.
When upgrading to a new Spring Security Authorization Server version, review the comments and diffs in these classes:
InMemoryRegisteredClientRepositoryfor allowing non-unique client secrets per client registrationSecurityConfig.validateScopeSupportingDynamicScopes(...)for dynamic scopes in the authorization-code floworg.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientCredentialsAuthenticationProviderfor dynamic scopes in the client-credentials flow
Also regression-test these areas after the upgrade:
- login form redirect into
/openIdMockServerLogin - wildcard and localhost redirect URI validation
- dynamic
bproles:*scope handling - token introspection, especially with roles pruning enabled
- JWK output at
/.well-known/jwks.json