Skip to content
Vegha VS Code

Authentication

Set auth on the request’s Auth tab, or on a folder or the collection so every request inside inherits it. Choose Inherit on a request to use its parent’s auth.

TypeNotes
Bearer tokenSent as Authorization: Bearer ….
BasicUsername and password.
API keyIn a header or a query parameter.
OAuth 2.0Client credentials, password, and authorization code with PKCE.
OAuth 1.0Signed requests.
AWS Signature v4Access key, secret key, region and service.
DigestChallenge-response username and password.
NTLMWindows-integrated auth for on-prem services.
WSSEUsernameToken for SOAP services.
mTLSA client certificate, configured in the collection settings.

The authorization code flow opens your system browser, the one that already has your password manager, SSO session and MFA. Vegha listens on a loopback address for the redirect and exchanges the code locally. PKCE is used by default.

In Remote-SSH, WSL and Codespaces windows the browser opens through VS Code, so the loopback redirect still reaches the engine on the remote side.

Use {{variables}} in auth fields and put the values in an environment, ideally as secret variables or secret:// references. See Environments & variables. The git secret guard warns you when a literal credential is about to be committed.

For details on each auth type’s fields, see the desktop docs on authentication. The engine is the same.