yii2-oauth2-server icon indicating copy to clipboard operation
yii2-oauth2-server copied to clipboard

A wrapper for implementing an OAuth2 Server(https://github.com/bshaffer/oauth2-server-php)

Results 27 yii2-oauth2-server issues
Sort by recently updated
recently updated
newest added

Перевел проект с MySQL на PostgreSQL, ID пользователя с Integer на UUID теперь при запросах с правильным токеном получаю ошибку `2022-11-18 18:29:39 [172.19.0.1][-][-][error][yii\web\HttpException:401] yii\web\UnauthorizedHttpException: Your request was made with invalid...

Hi, I am trying to implement oauth2 for my rest API but getting this error in authorize action. Can anyone please help me on this. Argument 2 passed to OAuth2\Server::handleAuthorizeRequest()...

For example access_token has _read_users_ scope. How to write a check for this scope? Somethink like that: ``` if(Yii::$app->user->can('_read_users_ ')){ ... } ```

The models do not use `Yii:t()` which would be useful, for using the models in another language. This would for example in `OauthAccessTokens` change: ``` php public function attributeLabels() {...

enhancement

Hi, Please update the method in Server.php file with the following: ``` public function verifyResourceRequest(\OAuth2\RequestInterface $request = null, \OAuth2\ResponseInterface $response = null, $scope = null) { if($request === null) {...

i have just implemented this, i am new to yii. my problem is after installation and configuration the library. i am not able to understand few things. 1. on adding...

We don't allow Null column and foreign key in DBA practice, it's better not to use them in DB migrations.

I've been working on a custom grant_type to incorporate OTP in the normal user_credentials grant_type. This requires a storageMap property with the same name. The main problem is that the...