OAuth Authentication

OAuth Authentication

Since Web Services expose crucial business information online, their security is critical for the business. You can secure a web service by using a Security Policy activity.

OAuth Authentication is supported only for REST Web Service Consumer activity.

To configure Security Policy with OAuth Authorization, first you need to create OAuth Profile and then OAuth Account. 

OAuth Profile helps to configure the OAuth related parameters like Application credentials, Authorization/Access Token URLs etc. to get the access token from the API provider.

Follow the steps below to create OAuth Profile:

  1. Click ConfigureACCOUNTS > OAuth Profile.

  2. Click CREATE OAuth Profile.

  3. On the Create OAuth Profile window, provide the name of the new OAuth Profile in the Provide a name for this OAuth profile field.





  4. Enter the values in each field of Access Information.



  5. Expand Other Settings to view the advanced properties of OAuth Profile.






  6. Click Save

Once OAuth Profile is created, you can now create OAuth Account to generate Access Token.

Follow the steps below to create OAuth Account:

  1. Click Configure > ACCOUNTS > OAuth.

  2. Click CREATE OAuth account.

  3. On the Create OAuth Account window, provide the name of the OAuth Account in the Provide a name for this OAuth account field.





  4. Select the OAuth Profile that you have created from the drop-down list of Select OAuth Profile to use for this account field.

    Or, you can also create a new OAuth Profile by clicking

    .

  5. Select the Project from drop-down list of Select Project.

  6. Click Get Access Token and Save.
    This creates your OAuth Account in Adeptia Connect.