)]}'
{
  "commit": "ae776a8f3f1731453a49ca3ddbb3db3df76b8820",
  "tree": "22029d6588ace4c44592b564cea24fbb5727d9e1",
  "parents": [
    "2e3f76a4b756813765c53bc6ab27f452a27ca67c"
  ],
  "author": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Sun Sep 06 15:16:22 2026 +0200"
  },
  "committer": {
    "name": "David Ostrovsky",
    "email": "david@ostrovsky.org",
    "time": "Mon Sep 07 14:40:25 2026 +0200"
  },
  "message": "Migrate sap to the OAuthClient boundary\n\nSAP IAS was the last provider still holding a raw OAuth20Service. Its\nstandard OAuth flow needs nothing SAP-specific: PKCE authorization and\ntoken exchange already live in the client, so SAPIasOAuthService now\nextends AbstractOAuthService and keeps only its own getUserInfo, which\nvalidates the SAP id_token via the CombiningValidator.\n\nThe one capability the client lacked is the resource-owner password\ngrant the login provider uses. Add passwordGrant to OAuthClient;\ngetAccessToken(user, password) delegates to it and returns an\nOAuthToken, so SAPIasOAuthLoginProvider no longer passes ScribeJava\u0027s\nOAuth2AccessToken around. A presented bearer secret is wrapped as the\ntoken\u0027s id_token so getUserInfo extracts it exactly as before.\n\nNo SAP class imports a ScribeJava request, response or token type now.\n\nChange-Id: I01215eeffd30cbaa63e74ecbcdc3ec242d5995ce\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9c2ef9a012e36baeca6cb65b982279a4661c0e18",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/oauth/OAuthClient.java",
      "new_id": "216a6c6f49d484f2abe3954225b7037c15ed06ef",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/oauth/OAuthClient.java"
    },
    {
      "type": "modify",
      "old_id": "95abbc3c8808fb3cff0787fc0562bf3e6c937708",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/oauth/ScribeOAuthClient.java",
      "new_id": "bc583fc6c612dd22b6f912d02359b97fa4142a95",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/oauth/ScribeOAuthClient.java"
    },
    {
      "type": "modify",
      "old_id": "6d2d719c6f8c84074e3c091f314fa88c1abfdf51",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/oauth/sap/SAPIasOAuthLoginProvider.java",
      "new_id": "abb67ddd5eebd4768e2b863a359a47f9b0e0e634",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/oauth/sap/SAPIasOAuthLoginProvider.java"
    },
    {
      "type": "modify",
      "old_id": "1f7f0e1b02a4a5ccd2818b2a792ef5ffa445a165",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/oauth/sap/SAPIasOAuthService.java",
      "new_id": "8811a104aaf4a138bee7d6296dd7391df8a4ac03",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/oauth/sap/SAPIasOAuthService.java"
    },
    {
      "type": "modify",
      "old_id": "3e193e396f04ef08236ff678ef7e91cdfa38c26d",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/oauth/ScribeOAuthClientTest.java",
      "new_id": "41853521316fd6b37f179662aaef482a5bf1b2c5",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/oauth/ScribeOAuthClientTest.java"
    },
    {
      "type": "modify",
      "old_id": "a929d54a29931fc3938c00448a0d653488dbda8d",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/oauth/sap/SAPIasOAuthServiceTest.java",
      "new_id": "043539b08d224aabaceb9ea89659e9415ada29cc",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/oauth/sap/SAPIasOAuthServiceTest.java"
    }
  ]
}
