kratos icon indicating copy to clipboard operation
kratos copied to clipboard

Allow partial updates for credentials

Open Sajuno opened this issue 7 months ago • 0 comments

Preflight checklist

Ory Network Project

No response

Describe your problem

My team is building an integration on top of Ory's identity API, and we're exposing the management of credentials to our tenants. The issue is that we're treating credential changes as partial updates, but the only way to add or update them is through replacing the identity itself.

Describe your ideal solution

Ideally PATCH identity would allow updates of credentials. A separate endpoint for adding/replacing credentials specifically (similar to DELETE), would also be great. I'm open to putting work into the latter myself.

Workarounds or alternatives

Working around this requires either telling our (probably confused) customers that just this one partial update is not thread safe, or locking the identity ourselves (which is what we're currently shooting for). Both aren't ideal though.

Version

Ory Network

Additional Context

No response

Sajuno avatar May 31 '25 13:05 Sajuno