IDENTITY-AND-ACCESS-MANAGEMENT-ARCHITECT practice question 28 of 30

A global fitness equipment manufacturer uses Salesforce to manage its sales cycle. The manufacturer has a custom order fulfillment app that needs to request order data from Salesforce. The order fulfillment app needs to integrate with the Salesforce API using OAuth 2.0 protocol. What should an identity architect use to fulfill this requirement?

Full set: 248 questions
Answer options
A: Canvas App Integration
B: OAuth Tokens
C: Authentication Providers
D: Connected App and OAuth scopes Correct answer
Correct Answer:
D. Connected App and OAuth scopes
Explanation

To enable an external application to integrate with Salesforce APIs using OAuth 2.0, an architect must configure a Connected App. A Connected App acts as the representation of the external application within the Salesforce platform. It is the primary mechanism for managing the OAuth 2.0 protocol, defining which authorization flows are permitted, and specifying the level of access granted. OAuth scopes are assigned to the Connected App to define the precise permissions (e.g., access APIs, manage user data) the external app will have after a user or system authorizes it. This combination directly and securely fulfills the integration requirement.

Why Incorrect

A. Canvas App Integration: This framework is used for embedding and surfacing external applications within the Salesforce user interface, not for server-to-server API integration.
B. OAuth Tokens: These are the credentials (e.g., access token) that are issued after a successful OAuth authorization flow. They are the result of the process, not the configuration mechanism itself.
C. Authentication Providers: These are used for the opposite scenario: allowing users to log in to Salesforce using credentials from an external identity provider (e.g., Google, Facebook).

References

1. Salesforce Developer Documentation, Connected App and OAuth Terminology: "A connected app is a framework that enables an external application to integrate with Salesforce using APIs and standard protocols, such as SAML, OAuth, and OpenID Connect... When a connected app is configured with OAuth 2.0, it can access Salesforce data on behalf of an external application." This document explicitly states that a Connected App is the framework for this purpose.

2. Salesforce Developer Documentation, OAuth Scopes: "Scopes further define the type of protected resources that the client can access. You assign scopes to a connected app when you build it, and they’re included with the OAuth tokens during the authorization flow." This confirms that scopes are configured within the Connected App to define permissions.

3. IETF RFC 6749, The OAuth 2.0 Authorization Framework, Section 3.3, Access Token Scope: "The authorization and token endpoints allow the client to specify the scope of the access request using the 'scope' request parameter... The value of the scope parameter is expressed as a list of space-delimited, case-sensitive strings." This foundational standard defines the concept of "scope" that Salesforce implements in its Connected App framework.

4. Salesforce Help, Create a Connected App: This guide details the administrative steps for creating a Connected App, including the section "Enable OAuth Settings," which is the central part of fulfilling the question's requirement. It shows that creating the app and setting its OAuth parameters is the correct procedure.

Scroll to Top