我正在为基于角度的单页面应用程序使用Azure AD身份验证。 登录功能就像魅力一样,面临注销问题。 用户退出会话后,会挂起Azure AD注销页面,而不会重定向到post_logout_redirect_uri中提供的URI,并允许用户无需再次输入凭据即可登录。
寻找网络上的帮助,花了将近一周的时间来解决问题。 但我仍然没有找到任何解决方案。 我发现已经有很多用户面临同样的问题而且没有提供同样的解决方案。
有没有人以前遇到过这个问题并且有相同的解决方案?
I am using Azure AD authentication for my angular based single page application. Sign in functionality works like a charm and facing issues with the logout. Once the user logged out from the session, its hang on the Azure AD sign out page and not get redirected to the URI given in the post_logout_redirect_uri and allowing users to login without entering credentials again.
Looked for the help over the web and spent almost a week to resolve the issue. But still I didn't find any resolution for this. I came to know that already many users are facing the same issue and no solution provided for the same.
Has anybody faced this issue before and have a solution for the same?
最满意答案
我假设你已经在Azure AD B2C中添加了该应用程序。
不幸的是,Azure新门户已经删除了公司品牌中的POST LOGOUT LINK URI 。 在Azure经典门户中,它现在也不起作用。 如果这对您很重要,您可以在此反馈论坛中进行投票。
希望这可以帮助!
I could able to fix the issue by passing b2c signup/signin policy id in the logout url. Now its get redirected to the desired logout landing page without hanging on Azure AD sign out page.
https://login.microsoftonline.com/{TENANT}/oauth2/v2.0/logout?p={B2C_SIGNUPIN_POLICY_ID}&post_logout_redirect_uri={APPLICATION_URL}更多推荐
发布评论