Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send the data to update or create something? #124

Closed
Nerexbcd opened this issue Apr 16, 2024 · 0 comments
Closed

How to send the data to update or create something? #124

Nerexbcd opened this issue Apr 16, 2024 · 0 comments

Comments

@Nerexbcd
Copy link

Hi;

The documentation of this Client is missing some important info on how to use it.
For Example:
I was having a hard time understanding how to send the data to add a social login to a user until i finally found this comment on a issue that helped me:

So you have to send:

$this->keycloakAdminClient->updateClient([
                "realm" =>  'evolutto',
                 "id" => $client["id"],
                 // here the values to update
             ]);

For example, il you want to disable your client:

$this->keycloakAdminClient->updateClient([
                 "realm" =>  'evolutto',
                 "id" => $client["id"],
                 "enabled"   => false
             ]);

Originally posted by @Eorana in #88 (comment)

If there are more people that started using this client recently and don't understand how to send the data to update or create something, i leave this issue to try to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant