this repo has no description

add a 5s tolerance to iat

anirudh.fi 3906c533 1574d294

verified
Changed files
+1 -1
+1 -1
oauth.go
··· 152 152 "sub": c.clientId, 153 153 "aud": authServerUrl, 154 154 "jti": uuid.NewString(), 155 - "iat": time.Now().Unix(), 155 + "iat": time.Now().Add(-5 * time.Second).Unix(), 156 156 } 157 157 158 158 token := jwt.NewWithClaims(jwt.SigningMethodES256, claims)