Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit dd38b89

Browse files
committed
Use a more descriptive type for oauth.allow_signup
If it's true or false, it's a boolean.
1 parent 91cd7d6 commit dd38b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/v3/oauth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Name | Type | Description
3737
`redirect_uri`|`string` | The URL in your application where users will be sent after authorization. See details below about [redirect urls](#redirect-urls).
3838
`scope`|`string` | A space delimited list of [scopes](#scopes). If not provided, `scope` defaults to an empty list for users that have not authorized any scopes for the application. For users who have authorized scopes for the application, the user won't be shown the OAuth authorization page with the list of scopes. Instead, this step of the flow will automatically complete with the set of scopes the user has authorized for the application. For example, if a user has already performed the web flow twice and has authorized one token with `user` scope and another token with `repo` scope, a third web flow that does not provide a `scope` will receive a token with `user` and `repo` scope.
3939
`state`|`string` | An unguessable random string. It is used to protect against cross-site request forgery attacks.
40-
`allow_signup`|`string` | Whether or not unauthenticated users will be offered an option to sign up for GitHub during the OAuth flow. The default is `true`. Use `false` in the case that a policy prohibits signups.
40+
`allow_signup`|`boolean` | Whether or not unauthenticated users will be offered an option to sign up for GitHub during the OAuth flow. The default is `true`. Use `false` in the case that a policy prohibits signups.
4141

4242
### 2. GitHub redirects back to your site
4343

0 commit comments

Comments
 (0)