Update Connected App OAuth Policies
sf_create_connected_app_oauth_policyUpdate OAuth policies on an existing Salesforce Connected App via the Metadata API. Configure refresh token expiry, single logout URL, session timeout, and IP restrictions.
Instructions
Updates the OAuth policies on an existing Connected App in Salesforce via the Metadata API. Configure the refresh token policy (infinite, specific duration, or expire on password change), single logout URL, session timeout, and IP relaxation settings. Use this to tighten or adjust security policies on deployed Connected Apps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ipRelaxation | No | IP relaxation policy | |
| sessionTimeout | No | Session timeout value | |
| singleLogoutUrl | No | Single logout URL | |
| connectedAppName | Yes | Connected App API name | |
| refreshTokenPolicy | Yes | Refresh token policy |