Skip to content

fix: stop treating OIDC username as a secret - #345

Open
amarkdotdev wants to merge 1 commit into
jfrog:masterfrom
amarkdotdev:fix/oidc-remove-username-setsecret
Open

fix: stop treating OIDC username as a secret#345
amarkdotdev wants to merge 1 commit into
jfrog:masterfrom
amarkdotdev:fix/oidc-remove-username-setsecret

Conversation

@amarkdotdev

Copy link
Copy Markdown

Summary

  • Remove core.setSecret(username) from setOidcStepOutputs so usernames are not redacted in logs.
  • Access tokens remain marked as secrets.

Fixes #280

Test plan

  • npx jest test/oidc-utils.spec.ts -t setOidcStepOutputs
  • Confirm OIDC workflows still set oidc-user / oidc-token outputs; username text no longer redacted

Usernames are not sensitive; marking them with setSecret caused
unnecessary log redaction in workflows.

Fixes jfrog#280

Signed-off-by: Aaron Mark <amark@g.jct.ac.il>
@amarkdotdev
amarkdotdev marked this pull request as ready for review August 18, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove improper use of setSecret for username in OIDC utils

1 participant