Created
October 23, 2021 08:02
-
-
Save jangaraj/121030d8d5bf6f9fff64b1d4fc077515 to your computer and use it in GitHub Desktop.
NBF scripted mapper for Keycloak OIDC clients
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# don't use Math.round, because it may round it into the | |
# future and it may be a problem for implementation, where | |
# nbf claim is verified | |
secondsSinceEpoch = Math.floor(new Date().getTime()/1000) | |
exports secondsSinceEpoch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment