Hydra: Update clients from cli

Created on 26 Aug 2020  路  3Comments  路  Source: ory/hydra

Hello!

It will be great to have hydra clients update command because sometimes we need to add/delete client callbacks. Do you have any plans to add such abitlity? Yes, i know that it is possible through rest api, but it is more comfortable to do this by hydra cli.

feat good first issue help wanted packagclient

Most helpful comment

I think an 'upsert' strategy can also be useful. What do you think?

All 3 comments

Haha I just closed another issue for this recently - sounds good :)

I think an 'upsert' strategy can also be useful. What do you think?

What about update like PATCH instead of PUT? For me 'update' is primarily for updating fields that i specified in request. I am writing service for updating client callbacks and for this operation i need to get client from hydra and then provide all client configuration with changed fields instead of making just one request with changed fields. What do you think about it?

Was this page helpful?
0 / 5 - 0 ratings