Why AI tools produce this: AI coding tools produce this regularly, typically when prompted for a shortcut or a quick fix.
Why this matters
The value of expires_in (or a comparable field) exceeds 86_400 seconds. Long-lived access tokens make every token theft catastrophic because they remain valid for days or weeks; the industry standard is 15-60 minutes for access tokens, paired with a refresh-token rotation flow for longer sessions.
Don't issue access tokens longer than a day. Use refresh tokens with proper rotation (RFC 6749 §6, RFC 9700 §4.14) for "stay logged in" semantics.
If a finding is a genuine false positive, scope the suppression to the exact line and leave a reason, never disable the rule project-wide. Disable directives are line-scoped by design.