如何在Azure AD身份验证中将多个资源刷新令牌更改为true? [英] How to change Is Multiple Resource Refresh Token to true in Azure AD authentication?

查看:70
本文介绍了如何在Azure AD身份验证中将多个资源刷新令牌更改为true?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用azure AD验证我的应用程序.但是一次我可以在一个地方登录.当我尝试在其他地方登录时,它没有进行身份验证.我在某处读到IsMultipleResourceRefreshToken在AuthenticationResult中应该为true.谁能帮助我如何在Azure AD身份验证中将IsMultipleResourceRefreshToken设置为true?

I am trying to authenticate my application using azure AD. But at one time I am able to login at one place. When I am trying to login in other place it is not authenticating. I read somewhere that IsMultipleResourceRefreshToken should be true in AuthenticationResult. Can anyone help me how to get IsMultipleResourceRefreshToken to true in Azure AD authentication?

推荐答案

IsMultipleResourceRefreshToken标志描述了您收到的刷新令牌的性质.您无法更改.但是,今天不应该存在Azure AD返回的刷新令牌不是多资源的情况.我建议您确保使用的是绝对最新版本的ADAL,并且实际上您使用的是返回刷新令牌的流. 此外:还不清楚登录到另一个地方"是指获得另一资源或另一租户的令牌.如果是后者,请注意,令牌始终绑定到其租户,并且不会为其他租户启用新令牌的发布.

The IsMultipleResourceRefreshToken flag describes the nature of the refresh token you received. You cannot change it. However, there should be no scenarios TODAY in which the refresh token returned by Azure AD is not multi resource. I recommend you ensure you are using the absolute latest version of ADAL and that you are actually using a flow that returns a refresh token. Furthermore: it is unclear if "login to another place" refers to obtaining a token for another resource, or for another tenant. If the latter, please note that tokens are always bound to their tenant and do not enable the issuance of new tokens for a different tenant.

这篇关于如何在Azure AD身份验证中将多个资源刷新令牌更改为true?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆