Access Management Best Practices15% of the exam

Assigning profiles and permission sets during SSO

How to keep profiles, roles and permission sets in step with the identity provider at SSO login: a minimum-access profile plus permission set groups, what standard JIT can and can't set, the Custom SAML JIT handler's createUser and updateUser contract, expiring assignments, SCIM entitlements, and validating ID token claims before granting access.

Official exam objective
Given a scenario, determine how to best assign roles, profiles, and permission sets to a user during the SSO process, how to keep these assignments up to date.

~6 min read · 11 practice questions

What the exam expects

  • Design access for SSO users as a minimum-access profile plus permission sets or permission set groups, so the identity provider's groups map to reusable building blocks.
  • Say what standard JIT sets (profile, role, User. fields) and what it can't (permission set assignments), and why manual profile edits are overwritten.
  • Configure a Custom SAML JIT handler: Execute Handler As, when createUser and updateUser run, the attributes map, encrypted assertions, several identity providers and Experience Cloud users.
  • Keep assignments current with updateUser, assignment expiration dates or SCIM entitlements, and validate ID token claims before a registration handler trusts them.

Key terms: standard JIT (Salesforce maps User. attributes onto the user at each SSO login); Custom SAML JIT with Apex handler (a class implementing Auth.SamlJitHandler does all provisioning); permission set group (bundle of permission sets for one persona); ExpirationDate (date a single assignment lapses); SCIM entitlement (profile or permission set exposed to a SCIM client).

Key facts

Recommended base profile
Detail
Minimum Access - Salesforce, or a clone
User-field assertion names
Detail
Every User field uses the User. prefix
Internal-user JIT required fields
Detail
Email, LastName, ProfileId, Username (insert only)
Site JIT profile exception
Detail
With self-registration defaults, the assertion can omit User.ProfileId
Existing user at standard JIT login
Detail
Fields in the assertion are updated
Professional Edition
Detail
Standard JIT only
Execute Handler As
Detail
User with Manage Users
updateUser triggers
Detail
Repeat SAML login or Existing User Linking URL
Encrypted assertion
Detail
Decrypted copy under Sfdc.SamlAssertion in attributes
ExpirationDate
Detail
Per assignment, creatable and updatable
SCIM permission sets
Detail
Exposed as entitlements; all editions
ID token in registration handlers
Detail
Stored, not validated; use Auth.JWTUtil
Sources for this section (9)
  • Why must a connector translate CommunityNickname when using the reference mapping?
  • When mapping TimeZoneSidKey into a SCIM payload, which attribute name is used?
  • Why should CompanyName not be treated as a compatible pass-through mapping?

The questions are free to read. Answers with their sources and self-grading are included with the pack.

Keep reading with the Platform Identity and Access Management Architect pack

  • Core concepts
  • Exam traps
  • Worked scenario

The pack includes:

  • All 25 lessons of the Platform Identity and Access Management Architect guide, with reading progress
  • Interactive decision walks and step-by-step sequence steppers
  • Practice exams purchase adds inline bank questions and topic practice (11 questions for this lesson)
  • An official source cited for every claim
  • An AI tutor that answers from the guide
  • Choose guide-only, practice-only, or save $4 with both

Practice for the Platform Identity and Access Management Architect exam