0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

chore(core): increase sso oidc token iat tolerance (#5074)

chore(core): increase sso oidc token iat tolerence

increase sso oidc token iat tolerence
This commit is contained in:
simeng-li 2023-12-08 10:27:13 +08:00 committed by GitHub
parent 531c59068d
commit 7310e4289f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ export const fetchToken = async (
}
};
const issuedAtTimeTolerance = 60;
const issuedAtTimeTolerance = 600; // 10 minutes
export const getIdTokenClaims = async (
idToken: string,