Basic Auth

Basic Auth

Create a Basic authorization header or inspect an existing one without sending credentials anywhere.

01 · Generate

Username and password

Build the header your connector expects.

Authorization header
Basic …

02 · Decode

Existing header

Inspect a header locally when debugging a request.

Username—
Password—
Copy Basic Auth as codeEnvironment variables keep credentials out of copied code
const username = process.env.BASIC_AUTH_USERNAME ?? "";
const password = process.env.BASIC_AUTH_PASSWORD ?? "";
const value = Buffer.from(`${username}:${password}`, "utf8").toString("base64");
console.log(`Basic ${value}`);