Identitet och åtkomst
Hur behöriga användare hittar, når och får åtkomst till dina system, och hur du väljer rätt mekanism för uppgiften.
Att styra åtkomst börjar med autentisering och auktorisering, och det kan handla om mer än bara Salesforce. Det finns flera mekanismer att välja mellan – SSO, SAML, OAuth med flera – och det är arkitektens jobb att förstå dem och göra rätt val för situationen.
Oavsett om du sätter upp din första SSO-anslutning eller reder ut en komplex identitetslösning, är målet att förstå alternativen så väl att du kan välja med säkerhet.
- Updated 2026-11-07
Security: Authentication and Authorization Summary (3.1) (in English)
What's changed since the video
- MFA is required now, not an option
- Two OAuth flows are retiring
- The words
Read the full update
Still right
- Two ways in: a person in a browser, and a client application through the API, and both go through the same authentication server.
- Authentication first (who you are), then a session, then authorization (what you may see and do).
- The layers at the door: TLS, MFA, IP restrictions, client certificates.
- In a browser, Salesforce checks who you are itself, or a third-party identity provider does it and sends a SAML assertion.
What's changed
- MFA is required now, not an option. Since July 2026 (production, staggered to September 2026), Salesforce enforces MFA for all employee users, direct and through single sign-on, and privileged users such as admins must use phishing-resistant MFA (Prepare for MFA Enforcement for All Employee Users and Prepare for Phishing-Resistant MFA Enforcement for Privileged Users including Admins, Salesforce Help, checked 2026-11-07).
- Two OAuth flows are retiring. The video lists the username-password flow as "being disabled by default". It's retiring: enforced February 20, 2027, and it can't be turned on in orgs created in Summer '26 and later (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps, Summer '26 release notes, checked 2026-11-07). The user-agent flows retire the same day (OAuth User-Agent and Hybrid User-Agent Flows Retirement, Winter '27 release notes, checked 2026-11-07).
- The words. The video says "IP whitelist"; Salesforce's settings are login IP ranges (on the profile) and trusted IP ranges (for the org). Not a platform change (The Front Door, module 3).
Learn it in the free course: Identity & Access Architect · Chapter 2 · The Front Door: Logging In to Salesforce · The Doors Into Salesforce →Learn it in the free course: Sharing & Visibility Architect · Chapter 2 · The Front Door: Logging In to Salesforce · The Doors Into Salesforce →Watch on YouTube - Updated 2026-11-07
Security: Authentication Options with Profiles (3.2) (in English)
What's changed since the video
- MFA isn't a per-profile switch for staff any more
- Limits on IP ranges
- A layer Salesforce adds for you
Read the full update
Still right
- The profile holds the door's settings: session timeout, password policies, login IP ranges and login hours.
- A login from outside the profile's IP ranges, or outside its hours, is refused.
- Test with a user of its own profile, not an admin.
What's changed
- MFA isn't a per-profile switch for staff any more. The video turns MFA on for one profile. Salesforce now enforces MFA for all employee users, and phishing-resistant MFA for privileged users (Prepare for MFA Enforcement for All Employee Users and Prepare for Phishing-Resistant MFA Enforcement for Privileged Users including Admins, Salesforce Help, checked 2026-11-07).
- Limits on IP ranges. Since Winter '26, a range can hold at most 16,777,216 IPv4 addresses, not counting the private 10.x.x.x range (Set Trusted IP Ranges for Your Org, Salesforce Help, checked 2026-11-01).
- A layer Salesforce adds for you. Since November 2025, Salesforce takes extra measures against logins from anonymizing VPNs, proxies and high-risk IP addresses (The Front Door, module 3).
Learn it in the free course: Identity & Access Architect · Chapter 2 · The Front Door: Logging In to Salesforce · IP Ranges, Login Hours and Sessions →Learn it in the free course: Sharing & Visibility Architect · Chapter 2 · The Front Door: Logging In to Salesforce · IP Ranges, Login Hours and Sessions →Watch on YouTube - Updated 2026-11-07
Security & Identity: Single Sign-On Concepts (3.3) (in English)
What's changed since the video
- A clearer way to say the certificate part
- Logins are more than a password now
- The example identity provider
Read the full update
Still right
- One identity provider, many service providers: sign in once, and every app after that opens.
- Why companies do it: fewer passwords, one place for strong rules and password recovery, and one place to switch someone off when they leave.
- The identity store holds the credentials, hashed; the identity provider sits in front of it and shows the login screen.
- The two sides trust each other through a certificate, and they never call each other: the browser carries the messages, by redirects.
What's changed
- A clearer way to say the certificate part. The video says each side has "their respective part of the certificate". To be exact: the identity provider keeps its private key and signs; the service provider holds only the identity provider's certificate, and checks the signature with it. Nothing changed in Salesforce; the course just says it this way (chapter 3, and chapter 4, module 4).
- Logins are more than a password now. The video talks mostly about passwords. The course starts from multi-factor authentication and passwordless logins (chapter 2, The Front Door, and chapter 15).
- The example identity provider. The video names Active Directory or LDAP as the identity store. The course's example company uses Microsoft Entra ID, a cloud identity provider. The idea is the same.
- Updated 2026-11-07
Security & Identity: SSO & SAML Configuration & Flow (3.4) (in English)
What's changed since the video
- Signed, always
- New since the video: Device Activation for single sign-on
- Connected apps: new ones need Salesforce Support
Read the full update
Still right
- What each side sets up: at the identity provider, the app, the certificate and the redirects; at Salesforce, My Domain, SAML turned on, the identity provider's certificate and the redirects back.
- The SP-initiated flow, step by step: the link, the redirect with a SAML request, the identity provider's login, the response, Salesforce's checks, the session.
- The Federation ID on the user record, and that it doesn't have to be the username: an employee number is often better.
What's changed
- Signed, always. The video says the assertion is "either digitally signed or digitally encrypted". Salesforce requires the identity provider to sign the response or the assertion, and recommends signing both; encryption is an extra on top (Step 1: Gather Information from Your Identity Provider and SAML Login Errors, Salesforce Help, checked 2026-11-07).
- New since the video: Device Activation for single sign-on. Since February 9, 2026, a SAML login from a device or browser Salesforce doesn't recognize must be activated, unless the identity provider shows the person signed in with a secure method (Changes to Device Activation for SSO Logins, Salesforce Help, checked 2026-11-07).
- Connected apps: new ones need Salesforce Support. When Salesforce is the identity provider, the app the video calls a connected app is now an external client app in new orgs: since Spring '26, creating a connected app needs a request to Salesforce Support (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07).
- Updated 2026-11-07
Security & Identity: Salesforce to Salesforce SSO (3.5) (in English)
What's changed since the video
- The last step looks different in a new org
- Who may go: a permission set
- Test with a normal user
- A stable Federation ID
Read the full update
Still right
- The whole idea: one org vouches, the other trusts, and a person signs in once and goes into the second org without logging in again.
- The preparation: two clean orgs, each with its own My Domain and logo, so you always know which one you're in.
- The order, back and forth: the identity provider org first (enable it, take its metadata), then the service provider org (the single sign-on setting from the metadata, the login page), then back to the identity provider org.
- The Federation ID on both users is what links them.
What's changed
- The last step looks different in a new org. The video registers the service provider with New Connected App. Since Spring '26, creating a connected app is turned off by default in new orgs and needs a request to Salesforce Support; Salesforce's way now is an external client app, which for SAML is set up through the Metadata API (New Connected Apps Can No Longer Be Created in Spring '26 and Integrate Service Providers as SAML-Enabled Apps, Salesforce Help, checked 2026-11-07). Existing connected apps keep working.
- Who may go: a permission set. The video gives access by profile. Salesforce recommends permission sets for an external client app's SAML access (ExtlClntAppSamlConfigurablePolicies, Metadata API Developer Guide, checked 2026-11-07).
- Test with a normal user. In the video the test user is a system administrator. The course keeps admins out of single sign-on and tests with a normal user, so the admin can always get in to fix a mistake (chapter 4, module 5). Not a platform change.
- A stable Federation ID. The video uses a name-based value; the course uses an employee number, a value that never changes (chapter 6, module 5).
- Updated 2026-11-07
Security & Identity: Deep Dive into SAML Authentication (3.6) (in English)
What's changed since the video
- SHA-256, not SHA-1
- Who holds what
- How she signed in now matters
Read the full update
Still right
- Watching a login with a SAML tracer: the request going out, the response coming back, the redirects in between.
- What's in the request and the response: the IDs, the issue time, the destination, the issuer, the signature, the subject, the time window, the recipient, the audience, the attributes.
- Why the times matter: a narrow window against replay, so the clocks on both sides have to be right.
- It's not magic: it's redirects and a signed message.
What's changed
- SHA-256, not SHA-1. The response in the video is signed with RSA-SHA1. The course uses SHA-256 throughout: Salesforce as an identity provider signs with a self-signed SHA-256 certificate by default (Enable Salesforce as a SAML Identity Provider, Salesforce Help, checked 2026-11-07).
- Who holds what. The video speaks of a shared certificate. To be exact: the identity provider signs with its private key, and the service provider checks with the identity provider's certificate (chapter 6, modules 3 and 4). Not a platform change.
- How she signed in now matters. Since February 9, 2026, the assertion's authentication context can decide whether a new device needs activation (Changes to Device Activation for SSO Logins, Salesforce Help, checked 2026-11-07).
- Updated 2026-11-07
Salesforce SAML JIT for Automated User Data Updates (3.7) (in English)
What's changed since the video
- Custom attributes, in an external client app
- Connected apps: new ones need Salesforce Support
- Choose the profile with care
- Leaving doesn't reach Salesforce
- The course tells it with Priya
Read the full update
Still right
- Just-in-time provisioning: the identity provider sends attributes in the assertion, and Salesforce creates or updates the user at login.
- A custom handler has two methods, one to create the user and one to update it.
- It only happens when the person logs in: for changes that can't wait, you still need a load.
What's changed
- Custom attributes, in an external client app. The video adds the phone attribute on a connected app at the identity provider. In a new org, Salesforce as the identity provider registers the service provider as an external client app, and its SAML settings, custom attributes included, are set through the Metadata API (ExtlClntAppSamlConfigurablePolicies, Metadata API Developer Guide, checked 2026-11-07).
- Connected apps: new ones need Salesforce Support. The video sets things up in a connected app. Since Spring '26, creating a connected app is turned off by default in new orgs and needs a request to Salesforce Support; the new way is an external client app (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07). Existing connected apps keep working.
- Choose the profile with care. The demo's handler gives every new user the System Administrator profile, to keep the demo short. In real orgs, choose the profile from the attributes, and give the least access that works (chapter 12).
- Leaving doesn't reach Salesforce. Not a platform change, and not in the video: just-in-time only runs at login, so it never removes anyone; when someone leaves, deactivate her in Salesforce too, or have the identity provider push the leave (Considerations for Deactivating Users, Salesforce Help, checked 2026-11-07; chapter 12, module 4).
- The course tells it with Priya. Not a platform change: the video's demo person becomes Priya, and the course's practice adds a brand-new joiner, Leo, created at his first login.
- Updated 2026-11-07
Security & Identity: Implementing Google Social Sign-On in Salesforce (3.8) (in English)
What's changed since the video
- A flow can be the registration handler
- Auth providers have a PKCE setting
- The button: My Domain for the org, the icon for a site
- Check the ID token before you trust it
- The course's handler only matches
Read the full update
Still right
- Social sign-on is set up in Salesforce with an auth provider, and Google is one of the ready-made types.
- Every auth provider used for login needs a registration handler, with two methods: create user and update user.
- The registration handler runs as a user you choose.
- The org needs My Domain, with the auth provider added to its login page.
- A basic handler creates a user for anyone who signs in, so it needs checks: who may come in, which profile, and the licences.
What's changed
- A flow can be the registration handler. The video writes it in Apex. Salesforce now also lets you build it in Flow Builder, with an Identity User Registration flow and a template (Create an Authentication Provider Registration Handler, Salesforce Help, Winter '27, checked 2026-11-07).
- Auth providers have a PKCE setting. Salesforce's auth provider settings include "Use Proof Key for Code Exchange (PKCE) Extension"; the course turns it on (Configure a Salesforce Authentication Provider, Salesforce Help, Winter '27, checked 2026-11-07).
- The button: My Domain for the org, the icon for a site. For the org's own login page, the auth provider is added through My Domain, as in the video. The auth provider's icon appears only on an Experience Cloud site's login page: "It doesn't appear on your Salesforce login page or My Domain login URL" (Configure a Salesforce Authentication Provider, checked 2026-11-07).
- Check the ID token before you trust it. Not a platform change, and not in the video: "Salesforce doesn't validate the ID token" for the registration handler, so a handler that uses a claim from it should validate it first (RegistrationHandler Interface, Apex Reference Guide, checked 2026-11-07).
- The course's handler only matches. Not a platform change: the video's handler creates a new user with a standard profile. The course's handler matches an existing user and refuses everyone else, and the course tells the story with Priya.
- Updated 2026-11-07
Security & Identity Simplified: When to Use SSO & OAuth (3.9) (in English)
What's changed since the video
- The username-password flow is retiring
- PKCE is required for new apps
- The device flow is narrower
Read the full update
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.
What's changed
- 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).
- Updated 2026-11-07
Tap into Salesforce Security: Navigating OAuth Flows with a Beer Garden Analogy (3.10) (in English)
What's changed since the video
- The example flow is retiring
- The course tells it at a food festival
Read the full update
Still right
- The words of OAuth: the resource owner, the client, the authorization server, the access token (the wristband), the resource server.
- The wristband is good for a while; when it expires, the client has to get a new one.
- The client never goes to the resource server without a token.
What's changed
- The example flow is retiring. The analogy walks through the username-password flow, the client holding the person's password. That flow is retiring (enforced February 20, 2027), and Salesforce recommends avoiding flows that pass credentials (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps, checked 2026-11-07; OAuth Authorization Flows, Salesforce Help, checked 2026-11-07). The course uses the web server flow with PKCE.
- The course tells it at a food festival. The ideas are the same; chapter 8 tells the base pattern at a food festival, and chapter 9 at the burger house.
Learn it in the free course: Identity & Access Architect · Chapter 5 · SSO or OAuth? Choosing the Mechanism · Who Starts It, and What Does It Reach? →Learn it in the free course: Identity & Access Architect · Chapter 8 · OAuth: The Base Pattern · Don't Go Straight to the Stall →Learn it in the free course: Integration Architect · Chapter 13 · Trust, Identity, and Integration Security · Choosing a Flow →Watch on YouTube - Updated 2026-11-07
A Step-By-Step Guide to Setting Up a Salesforce Connected App for Easy OAuth Integration (3.11) (in English)
What's changed since the video
- External client apps, not connected apps
- The username-password flow is retiring
- The policies are the admin's half
Read the full update
Still right
- A program reaches Salesforce's API through an app in Salesforce, and the app's scopes decide what it can do: the video gives it one scope, managing user data through the APIs.
- The app's consumer key and secret are private: keep them out of anything shared.
- The access token comes back with the instance URL to call, and goes in the Authorization header as a Bearer token.
What's changed
- External client apps, not connected apps. The video creates a connected app in App Manager. Since Spring '26, creating a new connected app needs a request to Salesforce Support (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07), and in Summer '27 "Salesforce is ending support for connected apps" (Migrate All Connected Apps to External Client Apps (Release Update), Winter '27 release notes, checked 2026-11-07). The course builds external client apps (chapter 8).
- The username-password flow is retiring. The video logs in from Postman with a username and password (`grant_type=password`). For connected apps it retires on February 20, 2027, and the video itself says Salesforce is moving away from it (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps (Release Update), Summer '26 release notes, checked 2026-11-07). For a program with no person, use client credentials (chapter 8).
- The policies are the admin's half. Not a platform change: the video sets the app up; the course adds the admin's side, who may use it, from where, and for how long (chapter 13, module 2).
- Updated 2026-11-07
Hop into OAuth: Web Server Flow Explained with a Beer Garden Analogy (3.12) (in English)
What's changed since the video
- PKCE is part of the flow now
- Refresh tokens for new apps rotate and expire when idle
- The drink comes from the food festival
Read the full update
Still right
- The web server flow: the person is sent to Salesforce's login, comes back with a one-time authorization code, and the web server swaps it for tokens on its own secure channel.
- The person's password never reaches the third-party server.
- The front channel (the browser) and the back channel (server to server) are trusted differently.
- The app's consumer key and secret are its business license.
What's changed
- PKCE is part of the flow now. The video's flow has no PKCE. From July 2026, new apps must use PKCE with the authorization code (OAuth Security Controls Are Enforced for New External Client Apps and Connected Apps, Summer '26 release notes, checked 2026-11-07).
- Refresh tokens for new apps rotate and expire when idle. From July 2026, new apps get refresh token rotation and a 30-day idle limit (OAuth Security Controls Are Enforced for New External Client Apps and Connected Apps, checked 2026-11-07).
- The drink comes from the food festival. The same story without the beer: in the course, the Burger House fetches her drink from the food festival next door, Salesforce (chapter 9, module 1).
- Updated 2026-11-07
Oauth Web Server Flow: Details and Demo (3.13) (in English)
What's changed since the video
- Add PKCE
- Connected apps: new ones need Salesforce Support
Read the full update
Still right
- The steps: the authorize request with the client ID, the callback URL and `response_type=code`; the login; the code on the callback; the token request with the code, the client ID and the secret.
- The callback URL must match on both sides.
- The access token goes in the `Authorization: Bearer` header.
What's changed
- Add PKCE. The demo's requests have no code challenge or verifier. From July 2026, new apps must use PKCE (OAuth Security Controls Are Enforced for New External Client Apps and Connected Apps, Summer '26 release notes, checked 2026-11-07).
- Connected apps: new ones need Salesforce Support. The video sets things up in a connected app. Since Spring '26, creating a connected app is turned off by default in new orgs and needs a request to Salesforce Support; the new way is an external client app (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07). Existing connected apps keep working.
- Updated 2026-11-07
Understanding Salesforce OAuth Device Flow: Explanation and Demo (3.15) (in English)
What's changed since the video
- Only local external client apps
- How long the codes last
- Connected apps: new ones need Salesforce Support
Read the full update
Still right
- The device starts it with only the client ID, not the secret; it gets a user code, a device code and the verification address, and polls.
- The person signs in on another screen and types the code; the device then gets its token, acting as that person.
- The device code stays with the device, so another device can't take its place.
What's changed
- Only local external client apps. From November 30, 2026, the device flow 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). The demo's connected app setting is the old way.
- How long the codes last. The device code and the user code are each valid for 10 minutes (OAuth 2.0 Device Flow for IoT Integration, Salesforce Help, checked 2026-11-07).
- Connected apps: new ones need Salesforce Support. The video sets things up in a connected app. Since Spring '26, creating a connected app is turned off by default in new orgs and needs a request to Salesforce Support; the new way is an external client app (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07). Existing connected apps keep working.
- Updated 2026-11-07
Salesforce Security and Identity - Exam Preparation Part 1 (3.19) (in English)
What's changed since the video
- MFA is required now
- Connected apps: new ones need Salesforce Support
- Older ciphers
- A hash uses no key
Read the full update
Still right
- The exam's sections are the same as in the video: the guide is still aligned to Summer '23 (Salesforce Certified Platform Identity and Access Management Architect Exam Guide, Salesforce Help, checked 2026-11-07).
- Authentication and authorization; the profile's settings; TLS and certificates; the redirects; SP-initiated single sign-on; the SAML request and response; just-in-time provisioning; delegated authentication; social sign-on and the registration handler.
What's changed
- MFA is required now. Salesforce enforces MFA for all employee users, and phishing-resistant MFA for privileged users (Prepare for MFA Enforcement for All Employee Users, Salesforce Help, checked 2026-11-07).
- Connected apps: new ones need Salesforce Support. The video sets things up in a connected app. Since Spring '26, creating a connected app is turned off by default in new orgs and needs a request to Salesforce Support; the new way is an external client app (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07). Existing connected apps keep working.
- Older ciphers. The video names DES beside AES. The course uses AES; chapter 3 covers keys and certificates.
- A hash uses no key. Not a platform change. In the video, a hash is described as running the text through encryption with a key. A plain hash, such as SHA-256, uses no key and can't be reversed; the same input always gives the same output. A keyed hash (an HMAC) adds a secret key.
- Updated 2026-11-07
Salesforce OAuth JWT Bearer Flow Explained (3.16) (in English)
What's changed since the video
- Prior approval is required
- Client credentials isn't username and password
- Connected apps: new ones need Salesforce Support
- Keep the list narrow
- No refresh token
- The drink comes from the food festival
Read the full update
Still right
- A process acting as a chosen person, with no one there: the client signs a JWT naming the user, with its certificate, and gets an access token for that user.
- Changes show the named user, not an integration user.
- Only between systems you control and trust: it's powerful.
What's changed
- Prior approval is required. The app has to be approved for the users first: admin-approved users, pre-authorized through profiles or permission sets (OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration, Salesforce Help, checked 2026-11-07).
- Client credentials isn't username and password. The video's recap pairs the integration user with "username and password". The client credentials flow uses the app's consumer key and secret, and runs as a named integration user (OAuth 2.0 Client Credentials Flow for Server-to-Server Integration, Salesforce Help, checked 2026-11-07).
- Connected apps: new ones need Salesforce Support. The video sets things up in a connected app. Since Spring '26, creating a connected app is turned off by default in new orgs and needs a request to Salesforce Support; the new way is an external client app (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07). Existing connected apps keep working.
- Keep the list narrow. Not a platform change: the app can act as anyone it pre-authorizes, so the course pre-authorizes a permission set holding only the users it needs, never a whole profile (OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration, checked 2026-11-07).
- No refresh token. Not a platform change, and not in the video: "This flow never issues a refresh token"; when the access token runs out, the client signs a new JWT (OAuth 2.0 JWT Bearer Flow for Server-to-Server Integration, checked 2026-11-07).
- The drink comes from the food festival. The same story without the beer: in the course, the Burger House delivers Priya's standing order, her drink from the food festival next door, while she's away (chapter 11, module 1).
Learn it in the free course: Identity & Access Architect · Chapter 5 · SSO or OAuth? Choosing the Mechanism · The Integration User, or a Chosen Person →Learn it in the free course: Identity & Access Architect · Chapter 11 · Acting as Someone: The Impersonation Flows · The Golden Pass →Watch on YouTube - Updated 2026-11-07
Salesforce Security and Identity - Exam Preparation Part 2 (3.20) (in English)
What's changed since the video
- Two flows now have retirement dates
- The device flow is for local apps only
- Connected apps give way to external client apps
- Refresh tokens rotate and expire when idle
- Check the exam guide's version
- The drink comes from the food festival
- A JWT is JSON, not XML
Read the full update
Still right
- The two ways in: a browser, with direct login or single sign-on and its redirects; and a client application through OAuth, with its four roles and its multi-step process.
- An access token gets the data; a refresh token only gets a new access token.
- The integration user puts one name on every change; when the change must carry a person, JWT bearer or a SAML assertion, with a trust set up first.
- The web server flow with PKCE for a person through an app; the device flow for a screen with no keyboard; the asset token flow exists, for connected devices.
- The username-password flow shouldn't be used: it passes a person's password around.
What's changed
- Two flows now have retirement dates. The username-password flow for connected apps and the user-agent flows retire on February 20, 2027 (Retirement of OAuth 2.0 Username-Password Flow for Connected Apps, Summer '26 release notes, checked 2026-11-07; OAuth User-Agent and Hybrid User-Agent Flows Retirement, Winter '27 release notes, checked 2026-11-07).
- The device flow is for local apps only. From November 30, 2026, only local external client apps with a localhost callback can use it (Restrict the OAuth 2.0 Device Flow to Local External Client Apps, Winter '27 release notes, checked 2026-11-07).
- Connected apps give way to external client apps. New connected apps need Salesforce Support since Spring '26, and their support ends in Summer '27 (Migrate All Connected Apps to External Client Apps (Release Update), Winter '27 release notes, checked 2026-11-07).
- Refresh tokens rotate and expire when idle. From July 2026, new apps get refresh token rotation and a 30-day idle limit (OAuth Security Controls Are Enforced for New External Client Apps and Connected Apps, Summer '26 release notes, checked 2026-11-07).
- Check the exam guide's version. The video walks the exam guide as it was in 2024, aligned to Summer '23; check the current version before you book (Exam Guide, Salesforce Help, checked 2026-11-07).
- The drink comes from the food festival. Not a platform change: the video's beer garden is the course's food festival, and its Burger House fetches her drink from the festival next door (chapters 8 and 9).
- A JWT is JSON, not XML. Not a platform change. In the video, the JWT is called a simple XML file. A JSON Web Token is JSON: a header, a set of claims and a signature, each encoded and joined with dots (RFC 7519: JSON Web Token, IETF, May 2015, checked 2026-11-20). The SAML assertion is the XML one.
- Updated 2026-11-07
Salesforce OAuth Refresh Token Flow Explained (3.17) (in English)
What's changed since the video
- New apps: rotation and a 30-day idle limit
- PKCE for apps that can't keep a secret
- A reused refresh token is caught
- A stolen token can be made useless
Read the full update
Still right
- With the web server flow, the app can also get a refresh token, store it securely, and swap it later for a new access token, so the person isn't asked to log in every day.
- A refresh token isn't an access token: it only gets you a new one. It can be revoked.
- When the refresh fails, send the person back to the login.
What's changed
- New apps: rotation and a 30-day idle limit. The video says refresh tokens can be set not to expire. From July 2026, new apps get refresh token rotation and a 30-day idle limit; older apps aren't forced, but Salesforce strongly recommends them (OAuth Security Controls Are Enforced for New External Client Apps and Connected Apps, Summer '26 release notes, checked 2026-11-07).
- PKCE for apps that can't keep a secret. For a mobile app, the web server flow with PKCE; the user-agent flows retire February 20, 2027 (OAuth User-Agent and Hybrid User-Agent Flows Retirement, Winter '27 release notes, checked 2026-11-07).
- A reused refresh token is caught. With rotation on, "If someone tries to use a refresh token that's been rotated out, Salesforce invalidates the current refresh token and any associated access tokens"; the 30-day idle limit is being enforced in production from November 4, 2026 (Configure the External Client App OAuth Settings, Salesforce Help, checked 2026-11-07).
- A stolen token can be made useless. DPoP binds tokens to the app's private key, available on a rolling basis from October 5, 2026 (Protect Your Data with the OAuth 2.0 DPoP Extension, Winter '27 release notes, checked 2026-11-07).
- Updated 2026-11-07
Salesforce OAuth SAML Bearer Assertion and SAML Assertion Flows (3.18) (in English)
What's changed since the video
- Prior approval
- Where the SAML assertion flow stands
- Connected apps: new ones need Salesforce Support
- The SAML assertion flow has limits
- The drink comes from the food festival
- The client signs a SAML assertion, not a request
Read the full update
Still right
- Two flows with nearly the same name. SAML bearer assertion: the client makes and signs the assertion, with a certificate registered on the app. SAML assertion: an assertion from the identity provider you already use for single sign-on.
- Salesforce checks the assertion as it does for single sign-on: the signature, the audience, the issuer, the subject, the times.
- Both act as a chosen person, with no one there.
What's changed
- Prior approval. The SAML bearer assertion flow is for previously authorized apps (OAuth 2.0 SAML Bearer Assertion Flow for Previously Authorized Apps, Salesforce Help, checked 2026-11-07).
- Where the SAML assertion flow stands. It's the one OAuth flow that doesn't need an external client app (OAuth Authorization Flows, Salesforce Help, checked 2026-11-07).
- Connected apps: new ones need Salesforce Support. The video sets things up in a connected app. Since Spring '26, creating a connected app is turned off by default in new orgs and needs a request to Salesforce Support; the new way is an external client app (New Connected Apps Can No Longer Be Created in Spring '26, Salesforce Help, checked 2026-11-07). Existing connected apps keep working.
- The SAML assertion flow has limits. "You can't use this flow with more than one org", it doesn't run login flows, and "Experience Cloud sites don't support this flow" (SAML Assertion Flow for Accessing the API, Salesforce Help, checked 2026-11-07).
- The drink comes from the food festival. The same story without the beer: in the course, the Burger House delivers Priya's standing order, her drink from the food festival next door, while she's away (chapter 11, module 1).
- The client signs a SAML assertion, not a request. Not a platform change: a slip. Early in the video I say the client "creates a SAML request" and signs it. In the SAML bearer assertion flow, the client creates and signs a SAML assertion, as the video says right after.
Learn it in the free course: Identity & Access Architect · Chapter 5 · SSO or OAuth? Choosing the Mechanism · The Integration User, or a Chosen Person →Learn it in the free course: Identity & Access Architect · Chapter 11 · Acting as Someone: The Impersonation Flows · Borrowed Trust →Watch on YouTube
En video hämtas från YouTube först när du klickar på den.