Skip to content

Fix MS Graph Client validation of token when no token exists

Drew Blessing requested to merge dblessing_fix_ms_first_token_validation into master

What does this MR do and why?

Fix MS Graph Client validation of token when no token exists

Prior to this fix, the MS Graph Client attempts to validate a non-existent token and fails. This is because the client tries to rely on an updated_at time that doesn't exist on an unpersisted object. This fix ensures the validation process handles unpersisted tokens.

Changelog: fixed EE: true

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports