@microsoft/teamsfx 2.2.2-alpha.df2b2dbae.0 → 2.2.2-alpha.eebec21dd.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm2017.mjs
CHANGED
@@ -680,8 +680,9 @@ class OnBehalfOfUserCredential {
|
|
680
680
|
internalLogger.warn(fullErrorMsg);
|
681
681
|
return new ErrorWithCode(fullErrorMsg, ErrorCode.UiRequiredError);
|
682
682
|
}
|
683
|
-
else if (errorMessage && errorMessage.indexOf("
|
684
|
-
const fullErrorMsg = "Failed to get access token from AAD server,
|
683
|
+
else if (errorMessage && errorMessage.indexOf("AADSTS50013") >= 0) {
|
684
|
+
const fullErrorMsg = "Failed to get access token from AAD server, assertion is invalid because of various reasons: " +
|
685
|
+
errorMessage;
|
685
686
|
internalLogger.error(fullErrorMsg);
|
686
687
|
return new ErrorWithCode(fullErrorMsg, ErrorCode.TokenExpiredError);
|
687
688
|
}
|