oauth2-server-php
oauth2-server-php copied to clipboard
A library for implementing an OAuth2 Server in php
Good evening! Please, give a php example for refresh token controller. Thank you!
It would be good to have a support for OAuth 2.0 Device Authorization Grant (https://datatracker.ietf.org/doc/html/rfc8628)
PKCE
Does this library have any support for PKCE with the Authorization Code grant type?
More information here: https://pfelix.wordpress.com/2016/02/15/oauth-2-0-and-pkce/ and here: https://tools.ietf.org/html/rfc7636
Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'code_challenge' in 'field list' in /var/www/html/oauth2-server-php/src/OAuth2/Storage/Pdo.php:292 Stack trace: #0 /var/www/html/oauth2-server-php/src/OAuth2/Storage/Pdo.php(292): PDOStatement->execute() #1 [internal function]: OAuth2\Storage\Pdo->setAuthorizationCodeWithIdToken() #2 /var/www/html/oauth2-server-php/src/OAuth2/Storage/Pdo.php(254): call_user_func_array() #3...
Manual testing, but works ... JWT.IO The UI The code. Thanks.
{"error":"invalid_request","error_description":"The grant type was not specified in the request"}
I am just following you cookbook step by step guidelines to configure oauth2 server from the following linke http://bshaffer.github.io/oauth2-server-php-docs/cookbook/ I keep all things are same exactly described on this page....
Hi, I'm trying to use cookies to authenticate users. I'm only stuck on the controller. How am I supposed to retrieve information from the cookie? ``` $oauth = new Oauth();...
This is to address issue #1056 - simple dependency injection via setter + getter to fallback to default object if none was explicitly passed