[midPoint-git] [Evolveum/connector-scimrest] 8bc1f3: Add static OAuth2 client credentials authorization...

johnstone3 noreply at github.com
Fri Apr 17 13:34:27 CEST 2026


  Branch: refs/heads/feature/basic-oauth2-authorization
  Home:   https://github.com/Evolveum/connector-scimrest
  Commit: 8bc1f36528169ab83e1cf0979d19b341c37a4c75
      https://github.com/Evolveum/connector-scimrest/commit/8bc1f36528169ab83e1cf0979d19b341c37a4c75
  Author: Jan Kamenicky <jan.kamenicky at evolveum.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M common/src/main/java/com/evolveum/polygon/scimrest/config/RestClientConfiguration.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/AuthorizationCustomizationBuilderImpl.java
    A common/src/main/java/com/evolveum/polygon/scimrest/impl/rest/OAuth2Context.java
    A common/src/main/java/com/evolveum/polygon/scimrest/impl/rest/OAuth2TokenManager.java
    M common/src/main/java/com/evolveum/polygon/scimrest/impl/rest/RestContext.java
    A common/src/test/java/com/evolveum/polygon/scimrest/exception/OAuth2AuthenticationTests.java

  Log Message:
  -----------
  Add static OAuth2 client credentials authorization support

Implements OAuth2 token lifecycle driven entirely by configuration:
- client_credentials flow with token caching and expiry buffer
- automatic refresh_token renewal when server provides one
- fallback to client_credentials when refresh token is invalidated
- client_secret_post and client_secret_basic auth methods
- configurable scope, grant type, and additional parameters
- WireMock tests covering token fetch, reuse, expiry, and refresh flows



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/connector-scimrest/settings/notifications


More information about the midPoint-svn mailing list