MEDIUM AI PREVALENCE: HIGH auth.iac.ci-hardcoded-oauth-secret
A secret-like key (client_secret, token, password, api_key, ...) is assigned a hard-coded literal in this CI workflow instead of being read from the secret store.
Why AI tools produce this: AI coding tools generate this anti-pattern by default, it appears in a large share of AI-written auth code.
Why this matters
Anything committed here lives in git history and in every build log forever, so the credential must be treated as leaked and rotated. Reference it from the CI secret store instead, for example ${{ secrets.OKTA_CLIENT_SECRET }} in GitHub Actions or a masked CI variable, and remove the literal from the file.
VULNERABLE
SAFE
Suppressing this rule
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.
// oauthlint-disable-next-line auth.iac.ci-hardcoded-oauth-secret -- <reason>