Hi All,

I am going to implement a connector for Microsoft office Outllook Mail, for
that I did a research on authentication part first and I have shared below
what I understood during the initial research.

The Office 365 API[1] services use Azure Active Directory (Azure AD) to
provide secure authentication to users' Office 365 data. To access the
Office 365 APIs, we need to register our app with Azure AD[2]. At run time,
created app can continue to use Azure AD and OAuth to authenticate
application requests[3].

Authorization Code Grant Flow Diagram

[image: Inline image 1]

   1. The client application starts the flow by redirecting the user agent
   to the Azure AD authorization endpoint. The user authenticates and
   consents, if consent is required.
   2. The Azure AD authorization endpoint redirects the user agent back to
   the client application with an authorization code. The user agent returns
   authorization code to the client application’s redirect URI.
   3. The client application requests an access token from the Azure AD
   token issuance endpoint. It presents the authorization code to prove that
   the user has consented.
   4. The Azure AD token issuance endpoint returns an access token and a
   refresh token. The refresh token can be used to request additional access
   tokens.
   5. The client application uses the access token to authenticate to the
   Web API.
   6. After authenticating the client application, the web API returns the
   requested data [4].

[1]
 https://msdn.microsoft.com/en-us/office/office365/howto/rest-api-overview
<https://msdn.microsoft.com/en-us/office/office365/howto/rest-api-overview>
[2]
https://azure.microsoft.com/en-us/documentation/articles/active-directory-integrating-applications/#BKMK_Native
[3] https://msdn.microsoft.com/en-us/library/azure/dn645543.aspx
<https://msdn.microsoft.com/en-us/library/azure/dn645543.aspx>
[4] https://www.youtube.com/watch?v=TjuJE7Zc1Qk




*Thank youVivekananthan Sivanayagam*

*Associate Software Engineer | WSO2*

*E:[email protected] <e%[email protected]>*
*M:+94752786138*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to