[PR #11822] fix(auth): display configuration metadata fields in auth list #13941

Open
opened 2026-02-16 18:18:46 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11822

State: open
Merged: No


fix(auth): display configuration metadata fields in auth list

Summary

  • Fixes #4533 where $schema and provider fields showed as "undefined" in auth list output
  • Display configuration metadata fields properly without exposing sensitive credentials

Changes

  • Added logic to read raw auth.json configuration file
  • Filter to display only metadata fields ($schema, provider)
  • Prevents credential leakage by not showing sensitive auth fields
  • Renamed display section from "Raw configuration" to "Configuration"

Verification

  • Tested with sample configuration containing $schema and provider fields
  • Ensured sensitive credentials are not displayed in output
  • Maintains existing functionality for parsed credentials
  • No regression in auth list command functionality

Fixes #4533

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11822 **State:** open **Merged:** No --- fix(auth): display configuration metadata fields in auth list ## Summary - Fixes #4533 where `$schema` and `provider` fields showed as "undefined" in auth list output - Display configuration metadata fields properly without exposing sensitive credentials ## Changes - Added logic to read raw auth.json configuration file - Filter to display only metadata fields ($schema, provider) - Prevents credential leakage by not showing sensitive auth fields - Renamed display section from "Raw configuration" to "Configuration" ## Verification - Tested with sample configuration containing $schema and provider fields - Ensured sensitive credentials are not displayed in output - Maintains existing functionality for parsed credentials - No regression in auth list command functionality Fixes #4533
yindo added the pull-request label 2026-02-16 18:18:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13941