Single Sign Out (Single Logout) with Azure AD B2C

  Рет қаралды 5,525

Tech Mind Factory

Tech Mind Factory

Жыл бұрын

This video explains Sign Out and Single Sign Out concepts with the Azure AD B2C.
Helpful links:
Sign out with Azure AD B2C:
learn.microsoft.com/en-us/azu...
Single Sign Out with Azure AD B2C:
learn.microsoft.com/en-us/azu...

Пікірлер: 18
@johngrant7097
@johngrant7097 9 ай бұрын
Great Video are you able to link to your GIT Repo for source code?
@sushanth587
@sushanth587 7 ай бұрын
What is _userSessionStateService, where did you reference the variable and what does the UpdateSessionState do, can you share the code snippet please
@nryttv3
@nryttv3 28 күн бұрын
Great video! How can this be handled in scenario where end user doesnt click logout but just closes the browser?
@rickfiji4486
@rickfiji4486 5 ай бұрын
Great video! Would you be able to upload your source code?
@user-mp4iw5on6g
@user-mp4iw5on6g 7 ай бұрын
I am having a SPA apps and doing the same steps as described. In front channel logout URL i am loading msal.js and trying to logout of b2c. however localStorage or sessionStorage is not shared when loaded via frontchannel logout url. If i directly launch front channel logout url then B2C logout happens but not when loaded in a . Do you know what could be wrong? is front channel logout not supported for SPA's?
@TechMindFactory
@TechMindFactory 7 ай бұрын
It looks like this is the problem with cookie access. Do you have "SameSite" set to none for your cookie?
@linzhang5497
@linzhang5497 9 ай бұрын
Great Video! But for the Session Behavior on User Flow, The Require ID Token in logout request should be "Yes" , right? Also, does User Flow support Single Log out?
@TechMindFactory
@TechMindFactory 9 ай бұрын
Thank you! Require ID Token in logout should be yes to increase security - this can be set for both, user flows and custom policies. When it comes to Single Logout - as per my knowledge it is supported only with custom policies because you have to adjust technical profiles. Here is the session provider used to enable SLO: learn.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-reference-sso#oauthssosessionprovider
@linzhang5497
@linzhang5497 9 ай бұрын
@@TechMindFactory Thank you so much for your reply. It is the best video about single log out online. I followed the steps you have, but the front channel URL is not getting called. I feel I am missing something.
@TechMindFactory
@TechMindFactory 9 ай бұрын
@@linzhang5497 Thank you for kind words. When it comes to your issue - I assume you used custom policies. Did you add technical profile called "SM-jwt-issuer" like presented here: learn.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-reference-sso#oauthssosessionprovider and then used it as validation technical profile in the profile called "JwtIssuer" like this: Please check the link I added above - you have to use "SM-jwt-issuer" with type "OAuthSSOSessionProvider" . Here is the part that is the most important from the docs: This type of session provider allows Azure AD B2C to track all OAuth2 or OpenId Connect applications the user logged into. During the sign-out of one application, Azure AD B2C will attempt to call the logout endpoints of all other known logged in applications.
@AshishPatel-dw1bi
@AshishPatel-dw1bi Ай бұрын
Hi, I will followed your steps but still not get to get single sign out for another application. so can you please give share check points to confirm? If needed, will you be available on demand hourly bases? Thank you
@mayrinvarkey9134
@mayrinvarkey9134 7 ай бұрын
If we are using Saml 2 instead of OIDC how can I redirect to to a url. Do I still rely on post_logout_redirect_uri?
@TechMindFactory
@TechMindFactory 7 ай бұрын
For SAML service providers, configure the application with the SingleLogoutService location in its SAML metadata document. You can also configure the app registration logoutUrl. Please read here, there are details for both OIDC and SAML: learn.microsoft.com/en-us/azure/active-directory-b2c/session-behavior?pivots=b2c-custom-policy#configure-your-application
@Fernando.Oliveira.
@Fernando.Oliveira. 11 ай бұрын
👏🏻
@nuskyfaizal9187
@nuskyfaizal9187 27 күн бұрын
Could you share the Source Code please
@niteshsetin
@niteshsetin 2 ай бұрын
Hi, i am stuck in a problem , if user open blazor wasm app multiple tabs and log out from one of tabs then it is still logged in in another tabs. Please let me know how can i solve this or any video you can share
@user-fz2gk9nh8h
@user-fz2gk9nh8h 22 күн бұрын
have to done this please explain me getting the same
@niteshsetin
@niteshsetin 22 күн бұрын
@@user-fz2gk9nh8h I have achieved this using blazor wasm and local storage
Home Realm Discovery with Azure AD B2C
46:44
Tech Mind Factory
Рет қаралды 1,1 М.
Single and multi-tenant applications in Microsoft Entra ID
1:18:25
Tech Mind Factory
Рет қаралды 11 М.
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 58 МЛН
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 109 МЛН
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 6 МЛН
SSO with Azure AD B2C
45:13
Tech Mind Factory
Рет қаралды 8 М.
Azure AD App Registrations, Enterprise Apps and Service Principals
33:44
John Savill's Technical Training
Рет қаралды 212 М.
Learn Live - Introduction to Azure AD B2C
1:20:54
Microsoft Developer
Рет қаралды 10 М.
Authenticate .NET Core with Azure AD
11:44
Tim Burris
Рет қаралды 19 М.
What is Single Log Out (SLO)?
11:01
Srivastava Mrinal
Рет қаралды 6 М.
Working with Azure AD B2C in ASP.NET
27:11
dotnet
Рет қаралды 17 М.
Deep dive into Azure AD B2C custom policies
51:15
Vignesh Ganesan
Рет қаралды 6 М.
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 351 М.
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 4,1 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,7 МЛН
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 12 МЛН
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23