Skip to content

Commit 3245fa5

Browse files
author
Tim Rogers
committed
Explain state in "GitHub redirects back to your site" step of OAuth documentation
1 parent 3bb8988 commit 3245fa5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)