Skip to content

Commit 0c9b239

Browse files
committed
Merge pull request github#813 from timrogers/oauth-state
Explain `state` in "GitHub redirects back to your site" step of OAuth documentation
2 parents 3bb8988 + 3245fa5 commit 0c9b239

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

content/v3/oauth.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Name | Type | Description
5454
`client_secret`|`string` | **Required**. The client secret you received from GitHub when you [registered](https://github.com/settings/applications/new).
5555
`code`|`string` | **Required**. The code you received as a response to [Step 1](#redirect-users-to-request-github-access).
5656
`redirect_uri`|`string` | The URL in your app where users will be sent after authorization. See details below about [redirect urls](#redirect-urls).
57+
`state`|`string` | The unguessable random string you optionally provided in [Step 1](#redirect-users-to-request-github-access).
5758

5859
### Response
5960

0 commit comments

Comments
 (0)