Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2dda0f4

Browse files
committed
Merge pull requestgithub#1067 from edjiang/master
Changed comma to space in accordance with OAuth spec
2 parents0e61e5f +23dd0ab commit2dda0f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎content/v3/oauth.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Name | Type | Description
3535
-----|------|--------------
3636
`client_id`|`string` |**Required**. The client ID you received from GitHub when you[registered](https://github.com/settings/applications/new).
3737
`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` | Acomma 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` | Aspace 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.
3939
`state`|`string` | An unguessable random string. It is used to protect against cross-site request forgery attacks.
4040
`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.
4141

@@ -204,11 +204,11 @@ Name | Description
204204
{% if page.version == 'dotcom' %}`admin:gpg_key`| Fully manage GPG keys.{% endif %}
205205

206206
NOTE: Your application can request the scopes in the initial redirection. You
207-
can specify multiple scopes by separating them with acomma:
207+
can specify multiple scopes by separating them with aspace:
208208

209209
https://github.com/login/oauth/authorize?
210210
client_id=...&
211-
scope=user,public_repo
211+
scope=user%20public_repo
212212

213213
##Common errors for the authorization request
214214

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp