Re: [Dev] [dev] Scope Management with OAuth Scopes

2018-01-19 Thread Isuru Uyanage
Hi Nuwan/ Chamin, Thank you for the replies. *Thanks and Best Regards,* *Isuru Uyanage* *Software Engineer - QA | WSO2* *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752* *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/ * On Fri, Jan 19,

Re: [Dev] [dev] Scope Management with OAuth Scopes

2018-01-18 Thread Chamin Dias
On Thu, Jan 18, 2018 at 1:41 PM, Nuwan Dias wrote: > The permissions of the use role have no relevance to the issuance of the > token. For a user to obtain a token with a certain set of scopes, the two > criteria below needs to be fulfilled. > > 1) The user should be in a role

Re: [Dev] [dev] Scope Management with OAuth Scopes

2018-01-18 Thread Nuwan Dias
The permissions of the use role have no relevance to the issuance of the token. For a user to obtain a token with a certain set of scopes, the two criteria below needs to be fulfilled. 1) The user should be in a role that is bound to the scope being requested. 2) The particular application that

[Dev] [dev] Scope Management with OAuth Scopes

2018-01-18 Thread Isuru Uyanage
Hi All, I need to clarify if the below scenario is valid. Role Permission Scope Resource HRDept Admin Permission add_user POST Accounts Login, api create, api publish, api subscribe search_user GET 1. The role HRDept(With admin permission) can create an application and generate access token