Sitecore 10 .NET Developer Certification — Question 6
If the Sitecore Content Management instance can be accessed by multiple host names, what would you do to enable users for each site to be able to log in to the Sitecore shell?
Answer options
- A. Patch the web.config for the Content Management instance with the required permission groups.
- B. Update the role for each user group to include the appropriate site permissions.
- C. Remove all specific host names from the Identity Server configuration settings file and replace them with wild-card options.
- D. Add AllowedCorsOriginsGroup for each site to the Identity Server configuration.
Correct answer: D
Explanation
The correct answer is D because adding AllowedCorsOriginsGroup for each site allows the Identity Server to accept requests from those sites, enabling user logins. Options A and B do not address the issue of cross-origin requests, while option C would incorrectly remove specific host entries, potentially causing access issues.