Api Automation authentication

What kind of authentications we use in API automation?

Any detailed explanation will be helpful, about UiPath API’s for interview perspective

@Shravan_Pintu

  1. If orchestrator api then there are 3 methods…auth code, client creds and pkce
  2. Most of the other apis also now a says are shifting to client clents oauth.
  3. Apart from that basic auth si also there which is a username and password

cheers

@Shravan_Pintu,

With UiPath Http request activity you can query any API endpoints and below are the authentication types it supports.

**None **- The default option. It should be used if the web server you are sending requests to does not require an authentication protocol.

**Simple Http **- This option has to be selected if the API you are making requests to uses a simple HTTP authentication protocol. If chosen, two additional fields are displayed - Username and Password, which have to be filled in with valid credentials for the specified API.

**OAuth1 **- This option has to be selected if the API you are making requests to uses an OAuth1 protocol. If chosen, four fields are displayed: Consumer Key, Consumer Secret, Access Token, Access Token Secret.

**OAuth2 **- This option has to be selected if the API you are making requests to uses an OAuth2 protocol. If chosen, the Access Token field is displayed. This access token is usually generated as a response to another HTTP request to the indicated API.

Thanks,
Ashok :slightly_smiling_face:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.