Why do we create Oauth Entity scope and how these values comes

anilkumarsharma
Giga Guru

Hello Team

why do we create oAuth Entity scope and how these values comes and what is the purpose and where it will use? please let me know

 

anilkumarsharma_0-1680001472361.png

 

5 REPLIES 5

Mehta
Kilo Sage
Kilo Sage

In the OAuth provider scenario, the OAuth profile refers to a combination of a grant type and at least one scope. The scope specifies the access that the user has to the protected resource, such as read or write. You can create a profile for each third-party provider and obtain the specific set of scopes from the provider. 

 

Hi Sir,

can you share one example to understand?

 

Regards'

Anil Sharma 

You can think in this way that you are try to integrate Microsoft Outlook Calendar, in order to do that you first need the read roles associated with a token you are generating with Oauth. Therefore in the scope you will define/create a record which will have the exact name of role need to read the calendar. 

 

By doing this when you will generate the token, it will have permissions to read the calender. then this token will be used in integration through rest api or other ways. 

Hi Sir,

can you share screen shot or best example to understand so that i would implement?