youtube image
From YouTube: Microsoft Office Add-ins Single Sign-on (SSO) sample updates and demo

Description

In this 19-minute Developer-focused demo, David Chesnut relates how token handling in SSO NodeJS sample has been updated to not return a middle-tier token back to the client. Step through the logic of the three scenarios addressed in this sample. SSO with OBO (successful flow), SSO fails and must use MSAL (fallback flow) and the SSO token expired flow. Tips on extending this sample and 2 related SSO samples - ASP.NET and Outlook along with security notes. This PnP Community demo is taken from the Office Add-ins community call – July 2022, recorded on July 13, 2022.

Demo Presenter
• David Chesnut - Senior Technical Writer (Microsoft) | @davidchesnut

Supporting documents
• Documentation - Microsoft identity platform and OAuth 2.0 On-Behalf-Of flow | https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-on-behalf-of-flow
• Documentation - Middle-tier access token request |
https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-on-behalf-of-flow#middle-tier-access-token-request
• Debug tool for examining tokens – jwt.ms | https://jwt.ms/
https://jwt.ms/
• SSO NodeJS walkthrough - Create a Node.js Office Add-in that uses single sign-on |
https://docs.microsoft.com/office/dev/add-ins/develop/create-sso-office-add-ins-nodejs
• SSO NodeJS sample Repo - Office Add-in that supports Single Sign-on to Office, the Add-in, and Microsoft Graph | https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/auth/Office-Add-in-NodeJS-SSO
• Documentation - Microsoft identity platform documentation | https://docs.microsoft.com/azure/active-directory/develop/

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/m365/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/m365/videos
• Microsoft 365 Platform Community - http://aka.ms/m365/community