multiple_matching_tokens_detected with ADAL

前端 未结 3 663
被撕碎了的回忆
被撕碎了的回忆 2020-12-19 11:55

I have a service that uses Azure access tokens that we retrieve using ADAL. We have several hundred customers, but for some reason there are two of them that sporadically ge

3条回答
  •  青春惊慌失措
    2020-12-19 12:15

    Solution for this is to catch error message, and in case error is multiple_matching_tokens_detected, then run AuthenticationContext.TokenCache.Clear(); and ask customer to repeat the login.

提交回复
热议问题