Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification on use of OAuth 1 vs 2 #2

Closed
BRMatt opened this issue Apr 14, 2014 · 5 comments
Closed

Clarification on use of OAuth 1 vs 2 #2

BRMatt opened this issue Apr 14, 2014 · 5 comments
Milestone

Comments

@BRMatt
Copy link

BRMatt commented Apr 14, 2014

I had a look over the spec but couldn't see any explicit discussion about why version 1 of the protocol was chosen over v2. The closest I saw to an explanation was this line:

The API must work on any site. The API must only use features available to the majority of sites in order to provide a useful utility.

Which I presume is hinting that you can't rely on all sites having SSL to protect v2's secret credentials?

@rmccue
Copy link
Member

rmccue commented Apr 20, 2014

Which I presume is hinting that you can't rely on all sites having SSL to protect v2's secret credentials?

Correct; OAuth 2 requires SSL when used in most modes. It can be used in MAC mode, however that usage is not yet standardised, so we can't use it.

Thanks for the feedback; I'll clarify this in the documentation.

@rmccue rmccue added this to the 1.0 milestone May 6, 2014
@lfender6445
Copy link

When can we expect to see OAuth 2 support? Is this in the works?

@kosso
Copy link
Contributor

kosso commented Oct 29, 2014

+1 for OAuth 2 support.

@seanfisher
Copy link

+1 as well for OAuth 2 support.

@joehoyle
Copy link
Member

OAuth2 is not currently in the works by the REST API team due to the HTTPS requirement, we are trying to focus on the solutions that work for (virtually) all WordPress sites, however I do encourage any contributors to work on an oauth2 plugin :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants