oauth2-php icon indicating copy to clipboard operation
oauth2-php copied to clipboard

A server implementation of OAuth 2.0

Results 28 oauth2-php issues
Sort by recently updated
recently updated
newest added

Co-authored-by: Aaron Opela

Added same events to facilitate implementing custom behavior. It allows to implement custom token generation for the auth code, access token and refresh token. Should fix #99

If I got it correctly, when a token request (e.g.) with a client_crendentials grant and without scope is received, a token for all configured scopes is granted. See code around...

It eases the use of JWT or other token types. Could also fix https://github.com/FriendsOfSymfony/oauth2-php/issues/86

Hi, When you're requesting an access token based of user credentials, you get a wrong response when your credentials are invalid. Expected result: { "error_description" : "Invalid username and password...

PHPDoc is invalid since the changes for strict type compat in bundle: ``` - '#Parameter \#1 \$httpStatusCode of class OAuth2\\OAuth2ServerException constructor expects string, int given#' - '#Parameter \#1 \$httpCode of...

### Scenario The client request with a valid authCode an accessToken. ### Expected behavior The server checks if already a valid, not expired accessToken exists. If yes, this token would...

Hi there. I modified the _grantAccessToken_ method a little bit to accept both post and json bodies.

in progress

Second argument of `Symfony\Component\HttpFoundation\Response::__construct()` typehinted for `int`

I'm using swagger and I not can create the token because the variable PHP_AUTH_USER is being set as swagger's user and always return message 'The client credentials are invalid' So...