mattermost/server/build/docker/keycloak
2025-09-25 05:29:22 +00:00
..
kc-healthcheck.sh CLD-7841 Optimize E2E testing costs (#27883) 2024-08-14 21:39:08 +02:00
keycloak.crt [MM-56732] Update keycloak docker configs and add make command (#26313) 2024-04-03 15:01:33 -04:00
ldap.mmsettings.json chore: improvements to keycloak local development (#26518) 2024-07-08 08:16:09 +02:00
openid.mmsettings.json chore: improvements to keycloak local development (#26518) 2024-07-08 08:16:09 +02:00
README.md chore: improvements to keycloak local development (#26518) 2024-07-08 08:16:09 +02:00
realm-export.json chore: improvements to keycloak local development (#26518) 2024-07-08 08:16:09 +02:00
saml.mmsettings.json fix: keycloak attribute mappings to match realm-export.json (#33964) 2025-09-25 05:29:22 +00:00

Keycloak development environment

Setting up

OpenID

Overwrite your OpenIdSettings section in your config.json file by running make config-openid and restarting your server.

SAML

Overwrite your SamlSettings section in your config.json file by running make config-saml and restarting your server.

LDAP

Overwrite your LdapSettings section in your config.json file by running make config-ldap and restarting your server.

Credentials to log in

  • Admin account, used to log in to the Keycloak Admin UI:

    • admin/admin
  • User accounts, used to log in to Mattermost:

    • homer/password
    • marge/password
    • lisa/password

Updating the realm-export.json

The realm-export.json file is automatically imported by the keycloak development container. If you make any modifications to this file or to the base configuration, export it by running a terminal in the container and running:

/opt/keycloak/bin/kc.sh export --realm mattermost --users realm_file --file /opt/keycloak/data/import/realm-export.json