b2csamples
b2csamples copied to clipboard
Incorrect token expiry calculation
Csx (Azure Function) code using Client Credentials, e.g. in the App Roles sample incorrect compares token expiry time to current time (-5minutes). It will only renew the token 5 minutes after its expiry!