Set up Jwks Auth for an HTTP connector
Not OAuth. Moveworks signs a JWT with a key it manages and rotates for you, and sends it in each API request as Authorization: Bearer <jwt>. The API checks the signature using the public keys Moveworks publishes at your org’s JWKS URL. Use it when the API verifies JWTs against a JWKS URL. Rotation is covered in How keys rotate.
If your provider’s docs give a token URL or the jwt-bearer grant type, use the Jwks Grant; the key setup and JWKS URL on this page apply to it too.
Jwt Auth or Jwks Auth?
Both send the signed JWT directly as Authorization: Bearer <jwt>. They differ in who holds the key:
Configure Jwks Auth
-
Select Jwks Auth from the Auth Config dropdown.
-
Under Jwks Auth Jwks, select Generate JWKS to generate the public and private key pair.

-
Fill in the fields:
-
Save the connector.
Give the API your JWKS URL
The system you’re calling verifies each JWT against your org’s public keys. Give it this URL, using the same host as your Tool Studio URL (not the -chat host):
For example, https://acme.moveworks.com/.well-known/jwks.json.
The verifier should:
- Always select the verification key by the JWT
kidheader. - Cache JWKS responses per its policy, but refresh on signature failures or at reasonable intervals.
- During rotation, accept tokens signed with either the current or next
kiduntil the grace period ends. Moveworks publishes the next key for the whole grace period before it starts signing with it, so refreshing the JWKS at least that often avoids failures.
Confirm it works
-
Open your JWKS URL. A
200 OKresponse with{ "keys": [ JWK, ... ] }means the keys are published. -
Test an action that uses the connector. Each request carries the signed JWT:
How the JWT is signed
- Key type: RSA 2048, signed with RS256
- JWK fields:
kty,kid,n,e,x5c(self-signed certificate, 1-year TTL),x5t - Claims:
iss,sub,aud,iat,expplus any additional claims
Jwks Auth Claims Subject accepts the same per-user template as Jwt Auth, such as {{ user.email_addr }}.
Example JWKS response:
How keys rotate
- Publication: The JWKS service serves the union of current and next JWKs for the org at
/.well-known/jwks.json. The response includes every JWKS key in the org, including other connectors’ and webhooks’ keys, so always select bykid. - Rotation inputs: Rotation interval (days) and Rotation grace period (hours).
- Grace period: when the rotation interval passes, a new key is published as
nextwhile signing continues with the current key. When the grace window ends, signing switches to the new key. Verifiers must accept tokens signed by eitherkiduntil the grace window ends.
The verifier first caches the current key, then accepts both keys during the grace window, then only the new key:
Troubleshoot Jwks Auth
404from the JWKS URL: The org has no JWKS configured, or the URL’s host isn’t your Tool Studio host. Check that the URL uses your Tool Studio host, then select Generate JWKS on the connector and save it.429from the JWKS URL: The endpoint rate limits excessive requests. Back off and retry with exponential backoff.- Parsing errors in keys: Ensure the verifier’s JWK parsing follows the spec (
kty,kid,n,e, optionalx5c).