我最近將我的ASP.NET應用程序切換到ASP.NET身份遠離Azure的Active Directory配置。測試這個時候本地我沒有問題,但是當我發佈到Azure中我得到以下錯誤:Azure聲明身份切換到標識
A claim of type ' http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier ' or ' http://schemas.microsoft.com/accesscontrolservice/2010/07/claims/identityprovider ' was not present on the provided ClaimsIdentity. To enable anti-forgery token support with claims-based authentication, please verify that the configured claims provider is providing both of these claims on the ClaimsIdentity instances it generates. If the configured claims provider instead uses a different claim type as a unique identifier, it can be configured by setting the static property AntiForgeryConfig.UniqueClaimTypeIdentifier.
有什麼我應該在我的Azure的一側,迄今已改變的配置?或者在我的代碼中還有其他需要的東西嗎?
這是爲我做了什麼。謝謝! – muttley91