Closed qiwzhang closed 4 years ago
@qiwzhang should we make this configurable? I'm not sure 1 minute is good for all cases, sometime we have short-lived JWT token that expires in ~5 minutes (or even shorter), and 1 minute skew means at least 20% difference.
Well grpc is hardcoded to 1 minute jwt_validator
I think we should be fine.
Signed-off-by: Wayne Zhang qiwzhang@google.com
This is to fix :https://github.com/GoogleCloudPlatform/esp-v2/issues/369
This is to on-par with grpc jwt_validator