Skip to content

Commit 2ee15ed

Browse files
authored
Merge pull request #4493 from gr2m/patch-2
GitHub Apps with expiring tokens: The "expires_in" and "refresh_token_expires_in" keys in the JSON response for code exchange are numbers, not strings
2 parents 08b8376 + 261d19d commit 2ee15ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/developers/apps/identifying-and-authorizing-users-for-github-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ By default, the response takes the following form. The response parameters `expi
9494
```json
9595
{
9696
"access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a",
97-
"expires_in": "28800",
97+
"expires_in": 28800,
9898
"refresh_token": "r1.c1b4a2e77838347a7e420ce178f2e7c6912e1692",
99-
"refresh_token_expires_in": "15811200",
99+
"refresh_token_expires_in": 15811200,
100100
"scope": "",
101101
"token_type": "bearer"
102102
}

0 commit comments

Comments
 (0)