mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-08-19 11:26:25 +00:00
Always serialize the "secrets" field in the credentials DTO, as an empty list when the client has no secrets, and make it a required property in the frontend type so consumers never have to handle a missing value. The federated credentials card now hands its callback only the federated identities it owns, and the page merges them into the client credentials, so saving them no longer drops the secrets from the local client object. Also drop the field comments on OidcClientSecret that restated the code, keeping only the note about the prefix being empty for migrated secrets. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gcdcb75uaMU5UE1G2niL3L