Authorization code grant


autorication code grant

Diagram flow

  1. Kofax Import Connector sends parameters (response_type=code, client_id, redirect URI, scope=User.Read Mail.ReadWrite Mail.ReadWrite.Shared offline_access openid profile) to Microsoft Azure Active Directory using the end point URL.

  2. An interactive pop up will be displayed prompting for username and password of the mailbox.

  3. Once the authorization is successful, Microsoft Azure Active Directory sends back the OAuth 2.0 access token, refresh token for accessing the user mailbox.

  4. Kofax Import Connector then send the user’s email address, mailbox folder to poll and access token for polling the messages.