In AuthenticationResultSupplier, lines 98-99 we see :
logException(ex);
throw new CompletionException(ex);
logException can in certain cases log an error with clientApplication.log.error(logMessage, ex);
This means that even when the exception is properly handled by the calling code (which we do) there is still a remaining error in the logs.
We have this problem and people end up investigating an issue that is not there.
For the time being we completely disabled logging for ConfidentialClientApplication ... but it would be much preferable that the error log not be done at all (or at least that this logging could be disabled when building the ConfidentialClientApplication)
In AuthenticationResultSupplier, lines 98-99 we see :
logException can in certain cases log an error with
clientApplication.log.error(logMessage, ex);This means that even when the exception is properly handled by the calling code (which we do) there is still a remaining error in the logs.
We have this problem and people end up investigating an issue that is not there.
For the time being we completely disabled logging for ConfidentialClientApplication ... but it would be much preferable that the error log not be done at all (or at least that this logging could be disabled when building the ConfidentialClientApplication)