Security & Identity Simplified: When to Use SSO & OAuth (in English)
Updated 2026-11-07
What's changed since the video
Each change is dated and checked against Salesforce's own documentation.
- The username-password flow is retiring. The video calls it deprecated. It's enforced off February 20, 2027, and can't be turned on in orgs created in Summer '26 and later; client credentials is the flow for an integration user (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps, checked 2026-11-07; OAuth 2.0 Client Credentials Flow for Server-to-Server Integration, Salesforce Help, checked 2026-11-07).
- PKCE is required for new apps. From July 2026, new apps must use PKCE for the authorization code grant (OAuth Security Controls Are Enforced for New External Client Apps and Connected Apps, Summer '26 release notes, checked 2026-11-07).
- The device flow is narrower. From November 30, 2026, it works only with local external client apps with a localhost callback URL (Restrict the OAuth 2.0 Device Flow to Local External Client Apps, Winter '27 release notes, checked 2026-11-07).
Still right
- A person in a browser on Salesforce's own pages: a direct login or single sign-on, and never OAuth.
- A person through a mobile app or another web server: OAuth, with the web server flow and PKCE.
- No person: an integration user, or a process acting as a chosen person (JWT bearer, SAML bearer assertion, SAML assertion).
- Devices and things: the device flow and the asset token flow.
All videos in this series: 身份与访问
只有在你点击时,视频才会从 YouTube 加载。