从 AAD 身份验证中注销 Azure Web App [英] Azure Web App logout from AAD Authentication
问题描述
我无法从将 Azure Active Directory 作为身份验证提供程序的简单 azure Web 应用程序中注销.
i am unable to logout from my simple azure web app that has Azure active directory as the authentication provider.
用户使用显示的 AAD 登录页面登录网站 这里
the user logs into the site using the AAD login page shown here
但我正在努力找出如何注销用户.
but i am struggling to find out how to log the user out.
我尝试使用各种未记录的注销网址,例如
i tried using the various undocumented logout urls like
https://login.microsoftonline.com/<tennantid>/oauth2/logout
虽然他们报告用户已注销,但事实并非如此.由于返回到上一个 URL 直接通过,没有标志页面.
although they report the the user is logged out, it isnt. As returning to the previous URL goes straight thru without a sign page.
我猜有一些 cookie 需要清除,但是这些东西到底是在哪里记录的?
i am guessing there are some cookies that need to be cleared but where on earth is all this stuff documented?
非常感谢任何帮助.
推荐答案
你试过[your-domain]/.auth/logout"吗?
Did you try "[your-domain]/.auth/logout"?
我也很难弄清楚这一点,我在这个 博文.
I too had a very hard time figuring this out and I found it in the comments of this blog post.
希望对你有帮助!
这篇关于从 AAD 身份验证中注销 Azure Web App的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!