Skip to navigation

Set up Basic Auth for an HTTP connector

View as Markdown

Not OAuth. Basic Auth sends a username and password with each request. Use it when the API takes a username and password directly. If the provider’s docs mention a token URL, choose an OAuth 2.0 grant instead.

The Authorization header sends the API a Base64 encoded string of the two values, preceded by Basic:

Basic Base64Encoded("<username>:<password>")

Before you begin

  • Start creating an HTTP connector and fill in its details up to Auth Config.
  • Get the API username and password, usually for a service account.

Enter the username and password

  1. Select Basic Auth in Auth Config.

  2. Enter your API username and password in Username and Password.

    Auth Config set to Basic Auth, with the Username and Password fields below it.

Save and confirm it works

Save the connector, then test it from an action that uses it.