Skip to Content

Salesforce Certified Identity and Access Management Designer: Choose the Right Scope Values for Mobile App REST API Calls

Learn how to select the appropriate scope values when building a mobile app that interacts with the Salesforce REST API. Discover the key considerations for seamless user experience and secure access management in your Salesforce implementation.

Table of Contents

Question

Universal Containers (UC) wants to build a mobile application that will be making calls to the Salesforce REST API. UC’s Salesforce implementation relies heavily on custom objects and custom Apex code. UC does not want its users to have to enter credentials every time they use the app.

Which two scope values should an Architect recommend to UC? (Choose two.)

A. full
B. api
C. refresh_token
D. custom_permissions

Answer

B. api
C. refresh_token

Explanation

When building a mobile application that makes calls to the Salesforce REST API, it’s crucial to choose the appropriate scope values to ensure secure access and a seamless user experience. In this scenario, Universal Containers (UC) should use the “api” and “refresh_token” scope values.

The “api” scope grants access to the Salesforce REST API, allowing the mobile application to interact with UC’s custom objects and custom Apex code. This scope is essential for the app to retrieve and manipulate data within the Salesforce org.

The “refresh_token” scope enables the mobile app to obtain a refresh token, which can be used to acquire new access tokens without requiring users to re-enter their credentials. This is particularly important for UC’s requirement of avoiding repeated credential entry by users. The refresh token allows the app to seamlessly maintain the user’s session and access to the Salesforce API.

By combining the “api” and “refresh_token” scopes, UC’s mobile application can securely access the necessary Salesforce resources while providing a convenient and user-friendly experience.

Salesforce Certified Identity and Access Management Designer certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Salesforce Certified Identity and Access Management Designer exam and earn Salesforce Certified Identity and Access Management Designer certification.