Azure AD注销不起作用

编程入门 行业动态 更新时间:2024-10-24 03:25:17
Azure AD注销不起作用 - Angular SPA(Azure AD Logout is not working - Angular SPA)

我正在为基于角度的单页面应用程序使用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}

更多推荐

本文发布于:2023-08-07 02:56:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1460734.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不起作用   Azure   AD

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!