[midPoint-git] [Evolveum/connector-scimrest] 1bf060: Add JWT Bearer grant type support for REST connect...

johnstone3 noreply at github.com
Thu Apr 23 16:25:09 CEST 2026


  Branch: refs/heads/feature/basic-jwt-authorization
  Home:   https://github.com/Evolveum/connector-scimrest
  Commit: 1bf060d9b8e346cb076617dfb5f769634c5578cb
      https://github.com/Evolveum/connector-scimrest/commit/1bf060d9b8e346cb076617dfb5f769634c5578cb
  Author: Jan Kamenicky <jan.kamenicky at evolveum.com>
  Date:   2026-04-23 (Thu, 23 Apr 2026)

  Changed paths:
    A common/src/main/java/com/evolveum/polygon/scimrest/config/OAuth2GrantType.java
    M common/src/main/java/com/evolveum/polygon/scimrest/config/RestClientConfiguration.java
    A common/src/main/java/com/evolveum/polygon/scimrest/groovy/api/JwtAssertionBuilder.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/impl/ReadOnlyConfiguration.java
    M common/src/main/java/com/evolveum/polygon/scimrest/impl/rest/OAuth2TokenManager.java
    R common/src/test/java/com/evolveum/polygon/scimrest/exception/OAuth2AuthenticationTests.java
    A common/src/test/java/com/evolveum/polygon/scimrest/exception/OAuth2ClientCredentialsTests.java
    A common/src/test/java/com/evolveum/polygon/scimrest/exception/OAuth2JwtBearerTests.java
    M connector/generic/src/main/resources/Messages.properties

  Log Message:
  -----------
  Add JWT Bearer grant type support for REST connector OAuth2 authorization

- OAuth2GrantType enum with canonical code per constant (CLIENT_CREDENTIALS, JWT_BEARER)
- JwtAssertionBuilder in groovy.api for building and signing RS256 JWT assertions
- OAuth2TokenManager dispatches to grant-type-specific request builders via switch
- RestClientConfiguration.OAuth2Authorization extended with grantType and privateKey fields
- isConfigured() handles JWT Bearer path (privateKey required, no client secret)
- ReadOnlyConfiguration wired with grantType and privateKey properties
- OAuth2ClientCredentialsTests renamed; OAuth2JwtBearerTests added for JWT Bearer flow



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