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

Tony Tkáčik noreply at github.com
Mon Apr 27 11:08:59 CEST 2026


  Branch: refs/heads/main
  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


  Commit: 027bf466a06f632ed0cda8177110eed39d57a914
      https://github.com/Evolveum/connector-scimrest/commit/027bf466a06f632ed0cda8177110eed39d57a914
  Author: Tony Tkáčik <tonydamage at users.noreply.github.com>
  Date:   2026-04-27 (Mon, 27 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:
  -----------
  Merge pull request #6 from Evolveum/feature/basic-jwt-authorization

Add JWT Bearer grant type support for REST connector OAuth2 authorization


Compare: https://github.com/Evolveum/connector-scimrest/compare/278269685ef0...027bf466a06f

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