3

I would like to find an OAuth plugin for vanilla PHP that is easy to use and well documented with examples. I have spent several days reading tutorials and articles as well as trying to implement OAuth from several parties. I have tried opauth, googles PHP oauth and f3 opauth plugin. They are all buggy and/or poorly documented.

This SO question is outdated. It does point to a promising site, but trying to registering there wore my patience thin.

  • Could you expand on how much documentation is needed and why the other above mentioned libraries were buggy? – Tom Jun 7 '16 at 16:13
  • 1
    opauth has sketchy documentaion and the sample they provide is incomplete. I spent many hours trying to get it to work and finally gave up. Google PHP oauth got me pretty far, but kept throwing a JSON error that did not make any sense, <a href="github.com/ikkez/f3-opauth"> f3 auth's documentation</a> is not useful for a novice PHP deveoper. – ron tornambe Jun 7 '16 at 16:48
0

You could try HybridAuth, just month ago updates. As for easy to use, in their homepage there is an example of "connect to Twitter, update your status and grab your friends list in 20 lines of code". About documentation, they have a pretty complete user-guide.

0

Just last week I've been to a talk at a developer conference.

The speaker recommended https://bshaffer.github.io/oauth2-server-php-docs/. The github repo was downloaded > 2 million times in 2017.

I haven't used it before, though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.