Set up the OAuth 2.0 refresh token grant for an HTTP connector
OAuth 2.0. The refresh token grant exchanges a Refresh Token you already have, along with your Client ID and Client Secret, for an Access Token. When the Access Token expires, the Refresh Token is used to retrieve a new one from the token URL. Use it when you have a long-lived refresh token and the provider has no client credentials flow for you. For other grants, see Choose a grant.
If your provider rotates refresh tokens and invalidates the old one on use, this grant stops working after the first refresh, because the new refresh token isn’t saved.
Before you begin
- Start creating an HTTP connector and fill in its details up to Auth Config.
- Get the client ID, client secret, refresh token and full token URL from the provider.
Enter the refresh token
-
Select Oauth2 from the Auth Config dropdown.
-
Set Oauth2 Grant Type to Refresh Token Grant, then fill in its fields:

Fill in the token request fields

Moveworks sends the client ID and secret in the request body first, then as a Basic Authorization header if that fails; see How the token request is sent.
Save and confirm it works
Save the connector, then test it from an action that uses it.