auth: JWKS cache refresh interval is hardcoded at 1 hour #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The JWKS refresh interval is hardcoded at 1 hour in
jwt.go. If Dex rotates signing keys, gitea-mcp will reject valid JWTs issued with the new key for up to 60 minutes.File:
internal/auth/jwt.go:44Suggestion:
JWKS_REFRESH_INTERVALenv var (e.g.15m,1h)