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

Conversation

@edjiang
Copy link
Contributor

@edjiang edjiang commented May 7, 2016

In the OAuth 2 spec, it says that:

The value of the scope parameter is expressed as a list of space-delimited, case-sensitive strings.

I tested this, and it seems like GitHub's OAuth implementation allows both spaces (to be spec compliant) and commas to delimit scopes. I think we should change the documentation so it matches the spec, and what people expect.

Otherwise the documentation will force people developing OAuth clients to make a deviation just for GitHub, even when it's not needed.

@MikeMcQuaid
Copy link
Contributor

Thanks for the PR! Bringing in @pengwynn and/or @ptoomey3 for more thoughts here.

@ptoomey3
Copy link
Member

Seems fine to me.

@MikeMcQuaid MikeMcQuaid merged commit 2dda0f4 into github:master May 12, 2016
@MikeMcQuaid
Copy link
Contributor

@edjiang Thanks for your contribution to developer.github.com! You rock!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants