What is OAuth in SharePoint 2013 or O365? – a simple understanding

OAuth is having importance in CSOM /REST api.

Below is the execution framework of OAuth,

OAuth Framework

 

In above diagram right side zone is representing,

  • A. Resource Owner
  • B. Authorization Owner
  • C. Resource Server

Execution Process of OAuth is as below,

  1. Client made a request for “Authorization” to “Resource Owner”
  2. “Resource Owner” response with “Authorization Grant” to the Client
  3. Client made a request for “Access token” to “Authorization Server”
  4. “Authorization Server” response with “Access token” to the Client
  5. Client made a request for “Resource” to “Resource Server” with “Access Token”
  6. “Resource Server” response with “Protected Resource” to the Client

Resource File : OAuth

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s