简体   繁体   English

如何在Azure AD身份验证中将多个资源刷新令牌更改为true?

[英]How to change Is Multiple Resource Refresh Token to true in Azure AD authentication?

I am trying to authenticate my application using azure AD. 我正在尝试使用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. 我在某处读到IsMultipleResourceRefreshToken在AuthenticationResult中应该为true。 Can anyone help me how to get IsMultipleResourceRefreshToken to true in Azure AD authentication? 谁能帮助我如何在Azure AD身份验证中将IsMultipleResourceRefreshToken设置为true?

The IsMultipleResourceRefreshToken flag describes the nature of the refresh token you received. IsMultipleResourceRefreshToken标志描述了您收到的刷新令牌的性质。 You cannot change it. 您无法更改。 However, there should be no scenarios TODAY in which the refresh token returned by Azure AD is not multi resource. 但是,今天不应该存在Azure AD返回的刷新令牌不是多资源的情况。 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. 我建议您确保使用的是绝对最新版本的ADAL,并且您实际上使用的是返回刷新令牌的流。 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. 如果是后者,请注意,令牌始终绑定到其租户,并且不会为其他租户启用新令牌的发行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何为Azure AD创建和使用刷新令牌 - How to create and use a refresh token for Azure AD 如何刷新通过 Azure 身份验证收到的访问令牌? - How to refresh access token received with Azure authentication? 如何使用 Azure AD 对同一应用程序的多个实例进行身份验证 - How to use Azure AD for authentication for multiple instances of same application Azure AD认证:多范围问题 - Azure AD Authentication : Multiple Scopes Issue 多种认证方案 JWT + Azure AD - Multiple Authentication Schemes JWT + Azure AD 如何使用 C# WEBAPI(基于令牌).netcore 进行身份验证和授权 Azure AD 应用程序 - How to do Authentication & Authorization Azure AD App, using C# WEBAPI (token based) .netcore Azure AD 身份验证:获取访问令牌时出现权限错误 - Azure AD authentication : Permission error while fetching access token Azure AD身份验证令牌使Web API授权失败 - Azure AD authentication token fails web api authorization Azure AD从身份验证结果对象获取访问令牌 - Azure AD Get access token from authentication result object 无法从使用旧刷新令牌调用的授权类型refresh_token的azure AD获取新的刷新令牌 - Not able to get new refresh token from azure AD with grant type refresh_token called with old refresh token
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM