Skip to content

Commit 5d155c1

Browse files
committed
Update Keycloak instructions
1 parent 7e87c5c commit 5d155c1

12 files changed

+20
-16
lines changed

docs/docker-compose-keycloak.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,11 @@ services:
154154
- OAUTH2_GENERIC_APP_ID=git
155155
- OAUTH2_GENERIC_APP_SECRET=<your-client-secret>
156156
- OAUTH2_GENERIC_CLIENT_SITE=http://<your-ip-address>:10081
157-
- OAUTH2_GENERIC_CLIENT_USER_INFO_URL=http://<your-ip-address>:10081/auth/realms/master/protocol/openid-connect/userinfo
158-
- OAUTH2_GENERIC_CLIENT_AUTHORIZE_URL=http://<your-ip-address>:10081/auth/realms/master/protocol/openid-connect/auth
159-
- OAUTH2_GENERIC_CLIENT_TOKEN_URL=http://<your-ip-address>:10081/auth/realms/master/protocol/openid-connect/token
160-
- OAUTH2_GENERIC_CLIENT_END_SESSION_ENDPOINT=http://<your-ip-address>:10081/auth/realms/master/protocol/openid-connect/logout
157+
- OAUTH2_GENERIC_CLIENT_USER_INFO_URL=http://<your-ip-address>:10081/realms/master/protocol/openid-connect/userinfo
158+
- OAUTH2_GENERIC_CLIENT_AUTHORIZE_URL=http://<your-ip-address>:10081/realms/master/protocol/openid-connect/auth
159+
- OAUTH2_GENERIC_CLIENT_TOKEN_URL=http://<your-ip-address>:10081/realms/master/protocol/openid-connect/token
160+
- OAUTH2_GENERIC_CLIENT_END_SESSION_ENDPOINT=http://<your-ip-address>:10081/realms/master/protocol/openid-connect/logout
161+
- OAUTH2_GENERIC_AUTHORIZE_PARAMS_SCOPE=openid
161162
- OAUTH2_GENERIC_ID_PATH=sub
162163
- OAUTH2_GENERIC_USER_UID=sub
163164
- OAUTH2_GENERIC_USER_NAME=preferred_username
@@ -166,13 +167,14 @@ services:
166167

167168
keycloak:
168169
restart: always
169-
image: jboss/keycloak:8.0.1
170+
image: quay.io/keycloak/keycloak:26.4
170171
ports:
171172
- "10081:8080"
172173
environment:
173174
- DEBUG=false
174-
- KEYCLOAK_PASSWORD=admin
175-
- KEYCLOAK_USER=admin
175+
- KC_BOOTSTRAP_ADMIN_USERNAME=admin
176+
- KC_BOOTSTRAP_ADMIN_PASSWORD=admin
177+
command: start-dev
176178

177179
volumes:
178180
redis-data:

docs/images/keycloak-admin-acc.png

1.31 KB
Loading
-29.5 KB
Binary file not shown.
41.9 KB
Loading
-35.8 KB
Loading
55.1 KB
Loading

docs/images/keycloak-client.png

28.2 KB
Loading
-25.8 KB
Loading

docs/images/keycloak-home.png

-35.6 KB
Loading

docs/images/keycloak-secret.png

16.8 KB
Loading

0 commit comments

Comments
 (0)