Skip to content

Commit

Permalink
Merge branch 'main' into fixing-iwa-wstrust-scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
mijpeterson authored Sep 12, 2024
2 parents 2e50a74 + 5640a4f commit e0b5f01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/MSALWrapper/AuthFlow/IntegratedWindowsAuthentication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ protected override async Task<TokenResult> GetTokenInnerAsync()
ex.Classification == UiRequiredExceptionClassification.BasicAction
&& ex.Message.StartsWith("AADSTS50076", StringComparison.OrdinalIgnoreCase))
{
this.logger.LogWarning("Warning: IWA failed, 2FA is required.");
this.logger.LogWarning("Warning: IWA can pass this requirement if you log into Windows with either a Smart Card or Windows Hello.");
this.logger.LogDebug("IWA failed, 2FA is required.");
throw;
}
catch (MsalClientException ex) when (ex.Message.Contains("WS-Trust endpoint not found") || ex.ErrorCode == "parsing_wstrust_response_failed")
Expand Down

0 comments on commit e0b5f01

Please sign in to comment.