Skip to content

Commit 4351fce

Browse files
authored
GitHub Apps OAuth Web Flow: document allow_signup parameter
1 parent fa321e7 commit 4351fce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Name | Type | Description
5050
`redirect_uri` | `string` | The URL in your application where users will be sent after authorization. This must be an exact match to {% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@3.0" %} one of the URLs you provided as a **Callback URL** {% else %} the URL you provided in the **User authorization callback URL** field{% endif %} when setting up your GitHub App and can't contain any additional parameters.
5151
`state` | `string` | This should contain a random string to protect against forgery attacks and could contain any other arbitrary data.
5252
`login` | `string` | Suggests a specific account to use for signing in and authorizing the app.
53+
`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` when a policy prohibits signups.
5354

5455
{% note %}
5556

0 commit comments

Comments
 (0)