How 2 configure the cluster to enable the tenant management API to create and modify tanants.
Table of Contents
How2
- create client for interactions with master realm
- Login to your keycloaks master realm
- open the internal git repository (e.g. by port forwarding the pod)
- open the
application-oauth2.yml
for editing create an entry in
authentication.oauth2.tenants
for the master realm- name: master clientId: dummy-client clientSecret: 12345678-1234-1234-1234-1234567890ab userAuthorizationUri: https://${keycloak.host}/auth/realms/master/protocol/openid-connect/auth accessTokenUri: https://${keycloak.host}/auth/realms/master/protocol/openid-connect/token userInfoUri: https://${keycloak.host}/auth/realms/master/protocol/openid-connect/userinfo endSessionUri: https://${keycloak.host}/auth/realms/master/protocol/openid-connect/logout?redirect_uri=${redir} userNameExtractionPattern: $.sub scope: openid
Subsection(s)
For Loop in Java (brief, concise title)
for (int i = 0; i < 10; i++) { System.out.println("Hello World " + i); }