Uh oh!
There was an error while loading. Please reload this page.
Fix certificate reload logic to only trigger on certificate-specific errors - #3653
Conversation
…rrors Co-authored-by: jmprieur <13203188+jmprieur@users.noreply.github.com>
Co-authored-by: jmprieur <13203188+jmprieur@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Bogdan Gavril (bgavrilMS)
left a comment
There was a problem hiding this comment.
I recommend fixing the infinite loop instead. Retrying the cert once on a generic error seems ok.
Jean-Marc Prieur (jmprieur)
commented
Dec 15, 2025
Not instead. In addition: We got customer complains for retrying for a client secret. |
Bogdan Gavril (bgavrilMS)
commented
Dec 15, 2025
Tom (@tlupes) - is this change is compatible with the new credential? I am ok to sign off if this is true. |
Jean-Marc Prieur (jmprieur)
commented
Jan 9, 2026
There is a detailed issue for that.#3654 |
…rtificateErrorCodes) for maintainability. Addresses PR feedback from Tom (#3653).
Fix Certificate Reload Logic for Invalid Client Errors
Changes Made
CertificateNotWithinValidityPeriodtoClientAssertionContainsInvalidSignatureLatest Update
Renamed the constant
CertificateNotWithinValidityPeriodtoClientAssertionContainsInvalidSignatureto better reflect that AADSTS7000274 indicates an invalid signature in the client assertion, aligning with the naming convention used for other certificate-related error codes.This ensures case-insensitive error code matching across all target frameworks and uses more accurate naming for the error codes.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.