File tree Expand file tree Collapse file tree
libs/SalesforceSDK/src/com/salesforce/androidsdk/auth Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -583,6 +583,11 @@ public static TokenEndpointResponse makeTokenEndpointRequest(HttpAccess httpAcce
583583 final String challenge = appAttestationClient != null ? appAttestationClient .fetchMobileAppAttestationChallenge () : null ;
584584 final String attestationValue = challenge != null ? appAttestationClient .createAppAttestationBlocking (challenge ) : null ;
585585 if (attestationValue != null ) {
586+ // Note: The attestation value is appended to the token endpoint
587+ // query string without Uri.encode by design. The value produced
588+ // by OAuthAuthorizationAttestation.toBase64String() is accepted
589+ // as-is by the Salesforce token endpoint's server-side contract.
590+ // This has been verified end-to-end; do not wrap in Uri.encode.
586591 sb .append (AND ).append (ATTESTATION ).append (EQUAL ).append (attestationValue );
587592 }
588593
You can’t perform that action at this time.
0 commit comments