Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

To enable OAuth authorization for an application in between Adeptia Connect and another application, you need to first register Adeptia Connect with that application with the consumer applicationwhich is also called consumer. The registration is also mandatory to get the client identifier and client secret details to help you create an OAuth profile and then an OAuth account.

For example, if you want to log in to Outlook mail server or use its services from an application within Adeptia Connect, you can authorize the Outlook mail server using  using the OAuth authentication type.

To achieve this, follow the steps below:

  1. Click here and login with your Outlook mail server credentials.
  2. On the home page, click Azure Active Directory



  3. On the Overview page, select the App registrations option in the left pane. 
  4. Click New registration.
  5. On Register an application page, enter the following details:



    1. In the Name field, type a user-facing display name for this applicationAdeptia Connect.
    2. In the Supported account types section, select the appropriate option that indicates who all can use this application or access this APIthe application being registered. Click Help me choose... to know more about the available options.
    3. In the Redirect URI (optional) section,
      1. Keep the Web option selected for the first field.
      2. Enter the URL to which the user will be redirected after the successful authenticationauthorization. In this case, use the Callback URL that is displayed on OAuth Profile page in Adeptia Connect.
        For example, https://<myapp.com>/rest/oauth/account

        Tip
        Ensure that you are using the https protocol for this URL.


    4. Click Register.
  6. Under the Essentials section, copy the Application (client) ID which you can use as a Client Identifier Identifier while creating OAuth profileProfile in Adeptia Connect.
  7. Click Certificates & secrets option in the left pane.
  8. In the Client secrets section,
    1. Click New client secret.



    2. In the Add a client secret window, type the description in the Description field. 
    3. In the Expires field, select an option for the validity period of the client secret.
    4. Click Add.
    5. Copy the client secret value under the column Value and store this for future reference. 

      Note
      This client secret value will be visible to you only once after creation. It is recommended that you copy and store it safely to use it in the future.

      You can modify the permissions based on your requirement by clicking API permissions in the left pane.

After you have registered the application, you can go forward and create an OAuth Profile and OAuth Account. Click here for more details.