Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

lvendrame
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant