Cli/ref/mw docker keycloak

mw docker keycloak
Keycloak service

Synopsis
= Keycloak service =

Keycloak is an open source identity manager (IdM) that can be used to provide single-sign on. It supports OpenID Connect and SAML.

They keycloak service allows you to add, delete, list, and get metadata for keycloak realms, clients, and users.

Setting up MediaWiki with OpenID Connect
You will need to create a realm, a client, and at least one user as follows:

where &lt;realmname&gt; is the name you choose for your realm, &lt;clientname&gt; is the name you choose for your client, &lt;username&gt; is the name you choose for your user, and &lt;temporarypassword&gt; is a temporary password that you will be asked to change at your first login.

Then, you will need to get the client secret that was assigned to your client:

Using the client secret returned as &lt;clientsecret&gt; below, add the following to your LocalSettings.php:

More Control
If you need finer-grained control of the keycloak service, you can use the exec command:

to get a command line and then use the  commands shown in the Keycloak Admin CLI guide.

Options inherited from parent commands
-c, --context string  The context to use (default &quot;default&quot;) --help            Help for this command --no-interaction  Do not ask any interactive questions -v, --verbose count   Increase output verbosity. Example: --verbose=2 or -vv