Comments (3)
from yii2-oauth2-rest-template.
Hi. Thanks for your issue!
Strange, I haven't this problem. Seems like you has different interfaces of methods OAuth2AccessFilter::beforeAction() and ActionFilter::beforeAction. Please, double check if you has the latest code of OAuth2AccessFilter (take a look, please, on it declaration and count of parameters).
If it the same, try to remove type Action
of $action
parameter (in OAuth2AccessFilter) by following way:
was: public function beforeAction(Action $action)
should be: public function beforeAction(Action $action)
If the problem in it - I will make commit to fix it
from yii2-oauth2-rest-template.
oh, yes, I try to remove type Action in the code of OAuth2AccessFilter
public function beforeAction($action). All is OK, Thanks for your help.
from yii2-oauth2-rest-template.
Related Issues (20)
- alternative login/register from another OAuth i.e. HOT 14
- few doubts HOT 2
- Extending Roles beyond ? & @ query on approach HOT 3
- configuration issues!
- refresh_token 400 HOT 1
- Update Readme HOT 3
- Error - after updating Yii2 HOT 1
- How Scopes work as Access Control HOT 1
- Hi, I want to expand your project.But i do not know how to do. HOT 3
- Add Explanations on how accessRules works with Scopes HOT 4
- Column name is BigInt? HOT 1
- Which is the yii2-oauth2-server version used? HOT 3
- Connection refused on migrate HOT 1
- Error 404 with application/api/www/index.php HOT 1
- Authorization client by client id and secret HOT 1
- hi, how to use OAuth2\ClientAssertionType\httpbasic
- Set multiple scopes to an action HOT 3
- Used in accordance with the tutorial configuration, there are 400 errors HOT 1
- Yii::$app->user->identity returns null HOT 2
- Customize errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-oauth2-rest-template.