mrochon / b2csamples

MIT License
132 stars 41 forks source link

Incorrect token expiry calculation #71

Open mrochon opened 11 months ago

mrochon commented 11 months ago

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!