从AAD身份验证注销Azure Web App [英] Azure Web App logout from AAD Authentication
问题描述
我无法从具有Azure活动目录作为身份验证提供程序的简单的Azure Web应用程序中注销.
i am unable to logout from my simple azure web app that has Azure active directory as the authentication provider.
用户使用显示在但是我正在努力找出如何注销用户.
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?
非常感谢您的帮助.
推荐答案
您是否尝试过"[您的域]/.auth/注销"?
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屋!