Base64 encode Username and Password in API call / API Header Variables

Hi Flow-ers,

I am trying to use authentication from a different backend platform where the API header requires a username and password to be Base64 encoded. I don't see that headers support variables (but could be wrong ๐Ÿคท ). I am required to request a token with a username and password, and then user the token instead of the username and password in subsequent calls.

Here is what the current backend requires for Auth:

Header
Content-Type: application/json
Authorization: a base64-encoded string representing the account name and password to use to log in to the hosted database. This base64-encoded string should follow the standard HTTP Basic Authentication Scheme. (The account name and password are separated by a colon.)

Can anyone shed some light or point me in the right direction?

Perhaps this is custom code?

Thanks,
Damien

1
7 replies