Skip to content

Commit 9dfadba

Browse files
author
Gaurav Bhandare
committed
Making NotBefore value as now-10
1 parent 0324658 commit 9dfadba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth_server/server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func (as *AuthServer) CreateToken(ar *authRequest, ares []authzResult) (string,
244244
Issuer: tc.Issuer,
245245
Subject: ar.Account,
246246
Audience: ar.Service,
247-
NotBefore: now - 1,
247+
NotBefore: now - 10,
248248
IssuedAt: now,
249249
Expiration: now + tc.Expiration,
250250
JWTID: fmt.Sprintf("%d", rand.Int63()),

0 commit comments

Comments
 (0)