Auth types
Argide ignores
securitySchemes and security in your spec. Authentication is configured only here, and it applies to every enabled endpoint.Which one to use
Bearer Token
Paste the token only into Bearer Token — for examplesk_live_abc123, not Bearer sk_live_abc123. Argide adds the Bearer prefix itself. There’s no header-name field: the token always goes in Authorization.
API Key
- Paste the key into API Key.
- Optionally set API Key Header to the header your API expects, such as
X-Acme-Key. Leave it empty to useX-API-Key.
Saved credentials
- Credentials are stored encrypted and never shown again. Once saved, the field shows “Credentials are already saved. Enter a value to replace them.” Leave it empty to keep the saved value.
- Bearer Token and API Key need a credential the first time you save.
- Switching to None or JWT Forward deletes any saved credential.
- The agent can’t override your auth header. If your spec declares a header parameter named
Authorizationor the same as your API key header, Argide drops the agent’s value and sends yours.
JWT Forward
JWT Forward lets the agent call your API as the signed-in user. Your backend mints a short-lived token for each user, the widget passes it to Argide, and Argide forwards that exact token to your API asAuthorization: Bearer <token>.
Selecting JWT Forward has no fields — the token comes from the user’s browser session. Setting up the token is covered in Identity verification.
What your API receives
Verify the token in your API
Verify the signature with yourARGIDE_AUTH_SECRET and the HS256 algorithm, then read the user ID from sub, userId, or user_id — whichever your backend put in the token.
401 when the header is missing, the token is invalid, or it has no user ID. The agent sees the status and can tell the user to sign in.

