-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I have noticed that UpdateClientCommand deletes options that were not sent and always activates client if deactivated flag was not sent.
Example:
bin/console trikoder:oauth2:create-client client test --grant-type client_credentials
bin/console trikoder:oauth2:update-client client --deactivated
=> client now has active set to 0 and grants set to null (lost his client_credentials grant)
bin/console trikoder:oauth2:update-client client --scope test
=> client now has active set to 1, grants to null and scope to test
Expected end result for example above would be:
Client has active set to 0, grants to client_credentials and scope to test.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request