Question 0390
In a separate expressly RELATED fictional example at Tansyridge Logistics Grant Agency, a partner license scoping review leads the federation engineer to reassess customer and partner access relationships. The analogous identity-control issue is: An application starts an OAuth login but never verifies returned state and mistakenly binds an attacker's session to a legitimate user. Which bounded design or implementation decision most directly addresses the observed problem?
Preliminary author-selected answer and complete rationale for every option — expert review pending
The measure may help if a daemon uses an employee's username and password to fetch customer updates every night despite a documented machine-to-machine requirement. For Tansyridge Logistics Grant Agency, the actual finding is that the authorization response is not tied to the initiating browser session, which calls for a different targeted corrective decision.
At Tansyridge Logistics Grant Agency, the defect is an application starts an OAuth login but never verifies returned state and mistakenly binds an attacker's session to a legitimate user. The direct remedy is generate and validate an unpredictable per-request state value and use appropriate secure session binding. Success should be tested by checking whether a callback with the wrong state fails without linking the user's Salesforce identity to another session.
The measure may help if an organization has no break-glass route if the corporate IdP is unavailable and proposes using an undocumented shared admin password. For Tansyridge Logistics Grant Agency, the actual finding is that the authorization response is not tied to the initiating browser session, which calls for a different targeted corrective decision.
That action would address a different symptom: a multi-company Salesforce org routes users to the wrong identity provider based solely on an easily mistyped email suffix. It does not directly repair the documented Tansyridge Logistics Grant Agency failure, an application starts an OAuth login but never verifies returned state and mistakenly binds an attacker's session to a legitimate user. The remedy must align with the actual service boundary.