oidc-client-js icon indicating copy to clipboard operation
oidc-client-js copied to clipboard

fix: call getEpochTime to pass the correct time to joseUtil.validateJwt

Open lvendrame opened this issue 4 years ago • 0 comments

When we have a service to get the epoch time configured, it is ignored, since the getEpochTime function isn't called every time the validateJwt function is called, so it uses a fallback value to get the current client time.

The purpose of this PR is to fix it and call getEpochTime to avoid the fallback value. Added a code coverage report tool too.

lvendrame avatar May 25 '21 11:05 lvendrame