Comments (3)
Have you created access_token based on both scopes ?
from yii2-oauth2-rest-template.
Yes, i do
El 25 may. 2016 04:41, "NADEEM AKHTAR (FULL STACK DEVELOPER)" <
[email protected]> escribió:
Have you created access_token based on both scopes ?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#28 (comment)
from yii2-oauth2-rest-template.
Hi, @alopezc
I'm busy on the other project and can't debug it, but here is the filter, that works with action's accessibility and its scopes - https://github.com/ikaras/yii2-oauth2-rest-template/blob/master/application/api/components/filters/OAuth2AccessFilter.php#L52
As you can see I just use method verifyResourceRequest of the extension. If it gives ability to use one scope - you can use it.
Try to play with it.
Ihor
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
- 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.