Hop into OAuth: Web Server Flow Explained with a Beer Garden Analogy (in English)
Updated 2026-11-07
What's changed since the video
Each change is dated and checked against Salesforce's own documentation.
- 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).
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.
All videos in this series: Identitet og adgang
En video hentes først fra YouTube, når du klikker på den.