Set up the OAuth 2.0 JWT bearer grant for an HTTP connector
OAuth 2.0. The Jwt Grant and Jwks Grant sign a JWT and exchange it at the provider’s token URL for an access token, using the standard OAuth 2.0 JWT bearer grant (RFC 7523), urn:ietf:params:oauth:grant-type:jwt-bearer. Provider docs usually name this grant type when they support it. If the provider asks for client_assertion and client_assertion_type instead, that’s JWT client authentication (RFC 7523 §2.2), not this grant. Use the Jwt Grant to sign with your own private key, or the Jwks Grant to sign with a Moveworks-managed key that rotates automatically.
Before you begin
- Start creating an HTTP connector and fill in its details up to Auth Config.
- Get the full token URL and the claims the provider expects (
iss,aud,sub). For the Jwt Grant, have your private key or secret ready.
Choose the grant and enter the JWT fields
- Select Oauth2 from the Auth Config dropdown.
- Set Oauth2 Grant Type to Jwt Grant or Jwks Grant, then fill in its fields:
Jwt Grant
Jwks Grant
The Jwt Grant signs the JWT with your private key or secret.

The Jwks Grant signs the JWT with a Moveworks-managed RSA key, and the provider verifies it at your org’s JWKS URL. Its fields match Jwks Auth, with Jwks Grant in place of Jwks Auth in each label, starting with Generate JWKS under Jwks Grant Jwks. Set Assertion Key (optional) if the provider doesn’t use the standard assertion. Then give the provider your JWKS URL.

Fill in the token request fields
These grants ignore Oauth2 Custom Oauth Response Response Type: the token is always read from access_token in a JSON response. Don’t add an assertion key under Additional Request Data; it would be sent instead of the signed JWT.
Moveworks signs the JWT, exchanges it at the token URL for an access token, then sends the access token to the API. The token request sends the JWT and no client ID or client secret:
A successful response might look like this:
The system extracts access_token from this response and uses it for subsequent API requests:
Save and confirm it works
Save the connector, then test it from an action that uses it. To check the JWT itself, decode it at JWT.io and compare its claims with what the provider expects.