Salesforce is aligning Commerce Cloud Account Manager with the OAuth 2.0 Security Best Current Practice (BCP) to reduce the risk of stolen tokens and exposed user credentials. The changes apply to all clients.
| Change | Current Behavior | Behavior From April 7, 2027 | Who Is Affected |
| Refresh Token Rotation | Disabled | Enforced for all clients that hold refresh tokens | Clients using authorization_code, direct grant, or offline_access |
| Implicit flow | Blocked for public clients only | Blocked for all clients | Clients using response_type=token or id_token |
| ROPC (password grant) | Blocked for public clients only | Blocked for all clients | Clients using grant_type=password |
Currently, Commerce Cloud Account Manager does not rotate refresh tokens. A stolen refresh token can therefore be reused until it expires. Starting April 7, 2027, rotation is mandatory.
invalid_grant error.authorization_code flow, the direct grant flow, or the offline_access scope and hold refresh tokens.client_credentials do not hold refresh tokens and are not affected.invalid_grant errors and prompt the user, or the background service, to authenticate again. This is the expected outcome when a session is revoked.A merchant runs a Business Manager-style admin tool as a single-page application. The user opens the tool in two browser tabs, and both tabs refresh the token at the same moment. Before April 7, 2027, both requests succeed. After the change, the second request presents a token that was already rotated. If it arrives outside the grace period, Account Manager revokes the session and returns invalid_grant, and the user must sign in again. A shared token-refresh routine that sends one refresh request at a time avoids this.
The Implicit flow (response_type=token, id_token, or token id_token) returns access tokens directly in the redirect URL fragment, where browser history, logs, or scripts can expose them. The OAuth 2.0 Security BCP deprecates it and OAuth 2.1 removes it. Commerce Cloud Account Manager currently blocks it for public clients. On April 7, 2027, it blocks it for all clients, including confidential clients.
/oauth2/authorize that use implicit response types, including hybrid combinations, are rejected for all clients.unsupported_response_type.response_type=token or response_type=id_token.
The ROPC flow (grant_type=password) exchanges a user's username and password directly for tokens. Client applications must handle raw user credentials, and the flow bypasses multi-factor authentication (MFA), passkeys, and phishing-resistant login. The OAuth 2.0 Security BCP prohibits it. Commerce Cloud Account Manager currently blocks it for public clients. On April 7, 2027, it blocks it for all client types.
/oauth2/token with grant_type=password are rejected by the server.unauthorized_client or unsupported_grant_type [exact code to be confirmed].grant_type=client_credentials). A background process has no user to sign in, so it authenticates as the API client.Audit all Commerce Cloud Account Manager integrations now for refresh token handling, response_type=token or id_token usage, and grant_type=password usage. Complete the updates before April 7, 2027.
005461459

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.