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
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Fix confusing about missing "plan" field of user data due to missing "user" scope#630

Conversation

@Vdragon
Copy link
Contributor

Readers may confuse when they create OAuth token following the example
curl command instead on the web form and noticed that the "plan" user
data field not displayed even when they're authenticated successfully
due to the missing "user" scope access.

This commit fixes this issue by also request "repo", "public_repo",
"user", and "gist" scope in the Oauth token command-line request cases
thus the result will be same with the one using GitHub's webform.

NOTE that this change may needs further lingual and cosmetic patches to make it
well-looking enough.

Signed-off-by: V字龍(Vdragon)Vdragon.Taiwan@gmail.com

…"user" scopeReaders may confuse when they create OAuth token following the examplecurl command instead on the web form and noticed that the "plan" userdata field not displayed even when they're authenticated successfullydue to the missing "user" scope access.This commit fixes this issue by also request "repo", "public_repo","user", and "gist" scope in the Oauth token command-line request casesthus the result will be same with the one using GitHub's webform.This change may needs further lingual and cosmetic patches to make itwell-looking enough.Signed-off-by: V字龍(Vdragon) <Vdragon.Taiwan@gmail.com>
@izuzak
Copy link
Member

@Vdragon Thanks for taking the time to submit feedbackand create a pull request! ✨

Sincepublic_repo scope permissions are contained withinrepo scope, and sincegist scope is not used in the guide -- what do you think about modifying the PR so that these two scopes are not requested (so that onlyrepo anduser scopes are requested)? I'd also be 👍 if you wanted to update the screenshot as well, so that it shows onlyrepo anduser scopes selected.

If you're okay with making that modification, let me know after you've done so and I'd be happy to merge this. Thanks again!

@izuzak
Copy link
Member

Closing in favor of#684.

@izuzakizuzak closed thisJan 10, 2015
gjtorikian added a commit that referenced this pull requestOct 9, 2015
Add endpoint for unlocking repository
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Vdragon@izuzak

[8]ページ先頭

©2009-2025 Movatter.jp