What's the difference between authentication and authorization in Salesforce?
Your confidence:Not rated
Model answer
- Authentication proves who a person or system is: password + MFA, SAML or OIDC single sign-on, social sign-on, OAuth JWT bearer or client credentials for systems.
- Authorization decides what they can do: licence and user type; permission sets for objects, fields and system permissions; sharing for records; OAuth scopes for API tokens; session security levels for sensitive actions.
- SSO changes authentication only. Authorization still lives in Salesforce.
โ Key points to hit
โ Red-flag answers
- 'SSO gives users their permissions'
- Confusing OAuth scopes with record access
โช Follow-ups
Do OAuth scopes control which records an integration sees?
No. Scopes control which APIs the token may call. Records are controlled by the user's permissions and sharing.
Where do profiles fit now?
Profiles still exist for login settings and defaults, but Salesforce recommends granting permissions through permission sets and permission set groups.