I want to create a PHP OAuth server with version 1a. But the problem with OAuth
ID: 660828 • Letter: I
Question
I want to create a PHP OAuth server with version 1a. But the problem with OAuth is: it isn't actually an application, it's a specification.
So you have to go out there and find which implementation of OAuth you want.
Is there a certified OAuth PHP implementation?
I am skeptical of just choosing a random library for it.
For example: this library seems nice, until you realize the developers haven't released an update since November 2010, and that it has over 50 issues.
So, is there an up-to-date library that
hasn't been abandoned;
is OAuth certified?
NOTE: I know OAuth 2 exists, but I prefer OAuth 1a and the way it works after reading this.
Explanation / Answer
Both oAuth 1.0a and 2.0 are being used by many sites. Most sites that use oAuth 2.0 use also SSL to prevent security breaches. oAuth 1.0a can also be used but it is usually more complicated because it requires a complex request signature procedure.
If you are looking for a PHP oAuth client library being actively maintained, you can use the PHP oAuth API class. It supports either oAuth 1.0, 1.0a and 2.0, along many other non-trivial oAuth specification features, like refresh tokens, 2-legged authentication, client password authentication, etc..
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.