OAuth 2.0 Server for PHP

后端 未结 4 1095
被撕碎了的回忆
被撕碎了的回忆 2021-01-04 10:24

I have been struggling to find an active open-source PHP project that supports OAuth 2.0 as a server. There are tons of client examples that connect to Facebook, Twitter, et

相关标签:
4条回答
  • 2021-01-04 10:55

    After much searching around I believe I have found the best solution for PHP'ers out there. Opinions are a dime a dozen but here's my favourite:

    http://bshaffer.github.io/oauth2-server-php-docs/

    Very active, high quality conversation and a solid product along with good (and improving) documentation.

    0 讨论(0)
  • 2021-01-04 11:02

    According to http://www.zimuel.it/oauth2-apigility/ & http://apigility.org/documentation/auth/authentication-oauth2

    You now can implement OAuth 2.0 Server using the open source project Apigility, with Brent Shaffer's implementation underneath...

    in the end...

    The OAuth2 implementation in Apigility uses the oauth2-server-php library by Brent Shaffer. Apigility uses a PDO database to store all the information related to the OAuth2 protocol. You can create your database using the schema reported in the file /vendor/zfcampus/zf-oauth2/data/db_oauth2.sql under your Apigility installation folder (zf-apigility-skeleton).

    0 讨论(0)
  • 2021-01-04 11:05

    Here is the list of available server and client libraries:

    http://oauth.net/2/

    which leads to a github project which is maintained.

    0 讨论(0)
  • 2021-01-04 11:17

    oauth2 server by php league is much more followed and downloaded project on github. My personal experience has been awesome and the best part is it's documentation. Excellent implementation of oauth2.

    0 讨论(0)
提交回复
热议问题