AWS Security ChangesHomeSearch

AWS bedrock-agentcore medium security documentation change

Service: bedrock-agentcore · 2025-10-01 · Security-related medium

File: bedrock-agentcore/latest/devguide/identity-idp-salesforce.md

Summary

Added detailed Salesforce OAuth2 configuration steps including PKCE enforcement and client secret requirements

Security assessment

Mandated PKCE extension and client secret requirements to prevent authorization code interception attacks. Added guidance for secure client credentials flow configuration. These changes directly implement OAuth2 security best practices to mitigate authorization vulnerabilities.

Diff

diff --git a/bedrock-agentcore/latest/devguide/identity-idp-salesforce.md b/bedrock-agentcore/latest/devguide/identity-idp-salesforce.md
index 9b781d8c8..083fe62e7 100644
--- a//bedrock-agentcore/latest/devguide/identity-idp-salesforce.md
+++ b//bedrock-agentcore/latest/devguide/identity-idp-salesforce.md
@@ -5 +5 @@
-Outbound
+Configuring a Salesforce OAuth2 applicationOutbound
@@ -10,0 +11,29 @@ Amazon Bedrock AgentCore is in preview release and is subject to change.
+You can set up Salesforce as an outbound provider using Salesforce OAuth 2.0.
+
+## Configuring a Salesforce OAuth2 application
+
+###### To configure a Salesforce OAuth2 application
+
+  1. In the developer portal for Salesforce, create a connected app and provide the name and other requested information specific to your application.
+
+  2. Enable and configure the OAuth settings for the application, providing the following as the callback URL:
+
+     * `https://bedrock-agentcore.{region}.amazonaws.com/identities/oauth2/callback`
+
+  3. Choose the necessary scopes and permissions your application will need.
+
+  4. Choose **Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows**.
+
+  5. Choose **Require Secret for the Web Server Flow**.
+
+  6. Choose **Enable Authorization Code and Credentials Flow**.
+
+  7. If you wish to use Salesforce as a ClientCredentials/M2M provider then choose **Enable Client Credentials Flow** and follow the prompts.
+
+  8. Save your application and copy the client ID and client secret that is issued for the application. You will need these to configure Salesforce in AgentCore Identity.
+
+
+
+
+For more details, refer to Salesforce's documentation [Define an OpenID Connect Provider](https://docs.aws.amazon.com/https://help.salesforce.com/s/articleView?id=xcloud.service_provider_define_oid.htm).
+