| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,7 +35,7 @@ Name | Type | Description | |||
| 35 | 35 | -----|------|-------------- | |
| 36 | 36 | `client_id`|`string` | **Required**. The client ID you received from GitHub when you [registered](https://github.com/settings/applications/new). | |
| 37 | 37 | `redirect_uri`|`string` | The URL in your app where users will be sent after authorization. See details below about [redirect urls](#redirect-urls). | |
| 38 | - `scope`|`string` | A comma separated list of [scopes](#scopes). If not provided, `scope` defaults to an empty list of scopes for users that don't have a valid token for the app. For users who do already have a valid token for the app, 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 same scopes that were used last time the user completed the flow. | ||
| 38 | + `scope`|`string` | A space delimited list of [scopes](#scopes). If not provided, `scope` defaults to an empty list of scopes for users that don't have a valid token for the app. For users who do already have a valid token for the app, 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 same scopes that were used last time the user completed the flow. | ||
| 39 | 39 | `state`|`string` | An unguessable random string. It is used to protect against cross-site request forgery attacks. | |
| 40 | 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. | |
| 41 | 41 | ||
@@ -204,11 +204,11 @@ Name | Description | |||
| 204 | 204 | {% if page.version == 'dotcom' %}`admin:gpg_key`| Fully manage GPG keys.{% endif %} | |
| 205 | 205 | ||
| 206 | 206 | NOTE: Your application can request the scopes in the initial redirection. You | |
| 207 | - can specify multiple scopes by separating them with a comma: | ||
| 207 | + can specify multiple scopes by separating them with a space: | ||
| 208 | 208 | ||
| 209 | 209 | https://github.com/login/oauth/authorize? | |
| 210 | 210 | client_id=...& | |
| 211 | - scope=user,public_repo | ||
| 211 | + scope=user%20public_repo | ||
| 212 | 212 | ||
| 213 | 213 | ## Common errors for the authorization request | |
| 214 | 214 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments