filsh/yii2-oauth2-server

Invalid credentials

Opened this issue · 0 comments

Перевел проект с 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 credentials. in /app/vendor/yiisoft/yii2/filters/auth/AuthMethod.php:93 Stack trace: #0 /app/vendor/yiisoft/yii2/filters/auth/AuthMethod.php(76): yii\filters\auth\AuthMethod->handleFailure(Object(yii\web\Response)) #1 /app/vendor/yiisoft/yii2/filters/auth/CompositeAuth.php(57): yii\filters\auth\AuthMethod->beforeAction(Object(yii\base\InlineAction)) #2 /app/vendor/filsh/yii2-oauth2-server/src/filters/auth/CompositeAuth.php(17): yii\filters\auth\CompositeAuth->beforeAction(Object(yii\base\InlineAction)) #3 /app/vendor/yiisoft/yii2/base/ActionFilter.php(77): filsh\yii2\oauth2server\filters\auth\CompositeAuth->beforeAction(Object(yii\base\InlineAction)) #4 [internal function]: yii\base\ActionFilter->beforeFilter(Object(yii\base\ActionEvent)) #5 /app/vendor/yiisoft/yii2/base/Component.php(633): call_user_func(Array, Object(yii\base\ActionEvent)) #6 /app/vendor/yiisoft/yii2/base/Module.php(724): yii\base\Component->trigger('beforeAction', Object(yii\base\ActionEvent)) #7 /app/vendor/yiisoft/yii2/base/Controller.php(166): yii\base\Module->beforeAction(Object(yii\base\InlineAction)) #8 /app/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction('index', Array) #9 /app/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('user/profile/in...', Array) #10 /app/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest(Object(yii\web\Request)) #11 /app/web/index.php(12): yii\base\Application->run() #12 {main}