In this episode we go over how to choose the right auth flow for your integrations to make sure your integrations are as safe and secure as they can be. We got over the difference between authentication and authorization, the difference between the three major protocols (SAML, OpenId Connect and OAuth) and the eight most commonly used auth flows and when to use one over the other.
Auth Flows GitHub Link: https://github.com/Coding-With-The-Fo...
Schedule Salesforce consulting time with me here: https://calendly.com/codingwiththefor...
Please consider donating to help continue to improve the content produced for Coding With The Force: https://www.paypal.com/donate?busines...
Get Coding With The Force Merch Here: https://my-store-d20559.creator-sprin...
Follow all of our social media here:
Patreon: / codingwiththeforce
Github: https://github.com/Coding-With-The-Force
Facebook: / codingwiththeforce
Twitter: / coding_force
Instagram: / codingwiththeforce
Salesforce development books I recommend:
Advanced Apex Programming: https://amzn.to/3lXi8to
Salesforce Lightning Platform Enterprise Architecture: https://amzn.to/2R0D4BQ
Mastering Salesforce DevOps: https://amzn.to/3lTtTRN
Apex Design Patterns Book: https://amzn.to/3DwqljP
Good Non-SF Specific Development Books:
Clean Code: https://amzn.to/35PuMDU
Clean Architecture: https://amzn.to/35FYo6A
Design Patterns: Elements of Reusable Object-Oriented Software Book: https://amzn.to/3LhvHBd
-----------------------------------------------------------------------------------------------------------------------
Table of Contents:
0:00 - Intro
0:32 - The difference between authentication and authorization
1:59 - The three different protocols
4:00 - SAML Flows
11:32 - Web Server (Auth-Code) Flow
15:03 - User Agent (Implicit) Flow
17:28 - When to use Refresh Tokens
20:25 - JWT Bearer Flow
23:20 - Device Flow, Asset Token Flow, Username and Password Flows
26:08 - High level recap of each flow and when to use them
30:03 - Outro
DISCLAIMER: The views and ideas expressed on this YouTube channel and blog are based on past development experiences and may not always work for your particular scenarios. The advice in these videos may also become outdated as technology advances. They should be used as examples for educational purposes only. Using any shown solutions in your own org is not advisable since they are example scenarios.
#salesforce #salesforcedeveloper #salesforceadmin