gerysk
gerysk
Instead of `` use ``. Also at that same file add `import 'react-toastify/dist/ReactToastify.css';` Wasted a few hours trying to figure it out. Thank you README.md -.-
Unless I am mistaken about the way the whole oauth2 works, you have to extend the AuthorizeFilter and overwrite the afterAction method to fit your goals (don't let it finishAuthorization()...
``` public function getScopes() { $responseType = $this->getResponseType(); //New model/table Oauth2UserScopes $userscopes = Oauth2UserScopes::findOne(['user_id' => Yii::$app->user->getId(), 'client_id' => $responseType->client_id]); if (!$userscopes) { $userscopes = new Oauth2UserScopes(['user_id' => Yii::$app->user->getId(), 'client_id' =>...
Nope, thats it. Not planning to use other grant types for the time being. (also don't know how)