Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allows config for leeway of 'nbf' and 'exp' #1

Merged
merged 1 commit into from Apr 26, 2022

Conversation

arlandism
Copy link
Owner

This change lets clients decide how much leeway should apply to the
'exp' and 'nbf' claims coming from the JWTs on inbound requests. It's
a pass-through to the jwt library's functionality.

See golang-jwt/jwt@d489c99
for related changes there.

This change lets clients decide how much leeway should apply to the
'exp' and 'nbf' claims coming from the JWTs on inbound requests. It's
a pass-through to the jwt library's functionality.

See golang-jwt/jwt@d489c99
for related changes there.
@arlandism
Copy link
Owner Author

Porting this over from infracloudio#67

@arlandism arlandism merged commit ef113ba into develop Apr 26, 2022
@arlandism
Copy link
Owner Author

Merging as this is already in use in prod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant