Skip to content

Commit

Permalink
Making NotBefore value as now-10
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravbhandare committed Mar 22, 2016
1 parent 0324658 commit 9dfadba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth_server/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (as *AuthServer) CreateToken(ar *authRequest, ares []authzResult) (string,
Issuer: tc.Issuer,
Subject: ar.Account,
Audience: ar.Service,
NotBefore: now - 1,
NotBefore: now - 10,
IssuedAt: now,
Expiration: now + tc.Expiration,
JWTID: fmt.Sprintf("%d", rand.Int63()),
Expand Down

0 comments on commit 9dfadba

Please sign in to comment.