OAuth 2.0 Server for PHP

后端 未结 4 1127
被撕碎了的回忆
被撕碎了的回忆 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 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).

提交回复
热议问题