API Authentication

While creating the API tests, if any API requires authentication, follow the below steps to create an API Authentication.

Creating API Authentication :

  1. Click on Configure on the left panel.

  2. Click on API Authentication.

  3. Enter the meta-data :

    1. Authentication Name

    2. Select Authentication Type : None, Basic, Digest, BearerToken, Oauth1, Oauth2

      If you select Basic or Digest, User Name and Password fields will be displayed.

       



      If you select BearerToken, Token Type and Bearer Token fields will be displayed.

      If you already have a token (Basic token, Bearer token, Digest token, Oauth token etc.), you can simply add the token type and token in the fields and use the authentication.
      Suppose the client has provided you a Basic type authorization token


      You can simply use the token as below

       

      If you select Oauth1, below fields will be displayed.


      If you select Oauth2, below fields will be displayed.

       

  4. Enter the details and click on Save.
    Once you save the API Authentication, it will be displayed under the Authentication dropdown within the API test.

 

https://bqurious.atlassian.net/wiki/spaces/BSD/pages/1067483168
https://bqurious.atlassian.net/wiki/spaces/BSD/pages/447184897