)]}'
{
  "commit": "5ffa86f62bfc7f0b208deeee61fdaeae5d6927ac",
  "tree": "ec26c57f44e48704ee3624d8d50027f4b0ed3197",
  "parents": [
    "956f986be9f16a54b21b022e297879e22eec922f"
  ],
  "author": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Sep 18 19:00:30 2023 +0100"
  },
  "committer": {
    "name": "Luca Milanesio",
    "email": "luca.milanesio@gmail.com",
    "time": "Mon Sep 18 22:09:11 2023 +0100"
  },
  "message": "Honour the cookieDomain also for the OAuth scope selection\n\nGerrit defines the cookieDomain for associating the authentication\ncookie with a service; however, the cookie domain was not honoured\nfor the scope selection, making more difficult for users to switch\nbetween different sites.\n\nExample:\n- User john logged in to site-1.gerrit.mycompany.com\n- Gerrit cookie associated to .gerrit.mycompany.com\n- User john login/logout to site-2.gerrit.mycompany.com\n- The OAuth scope selection is lost\n\nThe OAuth scope cookie must respect the same cookieDomain defined\nin the auth section of gerrit.config.\n\nChange-Id: I0317bd38badb04c12a959973e80ffe726b3df168\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6db2338d297ba8ab614b6c216e57343949f6392a",
      "old_mode": 33188,
      "old_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubLogin.java",
      "new_id": "ece944db4b35167bb2aea5fd55d37f36fa978772",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubLogin.java"
    },
    {
      "type": "modify",
      "old_id": "7ef81d1f10b664ab24aafd76f4219bc38e3eec9d",
      "old_mode": 33188,
      "old_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfig.java",
      "new_id": "d86feda67317b76a973bad1b9ddd79ec16a6ac1c",
      "new_mode": 33188,
      "new_path": "github-oauth/src/main/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfig.java"
    },
    {
      "type": "modify",
      "old_id": "a5bf767613b086cfd3ac19a9fe15a33eb3297b11",
      "old_mode": 33188,
      "old_path": "github-oauth/src/test/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfigTest.java",
      "new_id": "aae8fcc0aa2d3322afa4bb42075ede549886f057",
      "new_mode": 33188,
      "new_path": "github-oauth/src/test/java/com/googlesource/gerrit/plugins/github/oauth/GitHubOAuthConfigTest.java"
    }
  ]
}
