tangled
alpha
login
or
join now
oppi.li
/
atproto-oauth
forked from
anirudh.fi/atproto-oauth
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
add a 5s tolerance to iat
anirudh.fi
7 months ago
3906c533
1574d294
verified
This commit was signed with the committer's
known signature
.
anirudh.fi
SSH Key Fingerprint:
SHA256:cz35vdbiWEzCNEfuL9fMC2JVIhtXavXBHrRjv8gxpAk=
options
unified
split
Changed files
+1
-1
oauth.go
+1
-1
oauth.go
···
152
152
"sub": c.clientId,
153
153
"aud": authServerUrl,
154
154
"jti": uuid.NewString(),
155
155
-
"iat": time.Now().Unix(),
155
155
+
"iat": time.Now().Add(-5 * time.Second).Unix(),
156
156
}
157
157
158
158
token := jwt.NewWithClaims(jwt.SigningMethodES256, claims)