Hi @Savitha G Nair ,
Thanks for reaching out.
It seems like you are having trouble with the logout functionality in your Angular application that uses MSAL.
MSAL.js provides a logout
method in v1, and introduced logoutRedirect
method in v2 that clears the cache in browser storage and redirects the window to the Microsoft Entra sign-out page. After sign-out, by default Microsoft Entra ID redirects back to the page that invoked logout.
- Logout V2 Endpoint: https://login.microsoftonline.com/common/oauth2/logout
- Sample Logout request: https://login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri=https://portal.azure.com:443/
If you are trying to sign out in Azure AD B2C from Social Idp, the this is expected behavior. The sign-out clears the user's single sign-on state with Azure AD B2C, but it might not sign the user out of their social identity provider session.