diff --git a/docker/docker-compose.keycloak.yml b/docker/docker-compose.keycloak.yml index cd09eba4e6..54318ec3c1 100644 --- a/docker/docker-compose.keycloak.yml +++ b/docker/docker-compose.keycloak.yml @@ -2,13 +2,13 @@ version: '3.4' services: keycloak: - image: jboss/keycloak + image: keycloak/keycloak:24.0.1-0 environment: - - KEYCLOAK_USER=demo - - KEYCLOAK_PASSWORD=demo - - KEYCLOAK_IMPORT=/realm.json + - KEYCLOAK_ADMIN=demo + - KEYCLOAK_ADMIN_PASSWORD=demo + command: start-dev --import-realm volumes: - - ./keycloak/fixtures/realm.json:/realm.json + - ./keycloak/fixtures/realm.json:/opt/keycloak/data/import/realm.json ports: - 8080:8080 networks: diff --git a/docker/keycloak/fixtures/oidc.json b/docker/keycloak/fixtures/oidc.json index f31fe260db..89f4626860 100644 --- a/docker/keycloak/fixtures/oidc.json +++ b/docker/keycloak/fixtures/oidc.json @@ -7,18 +7,18 @@ "oidc_rp_client_id": "testid_public", "oidc_rp_client_secret": "23a12032-e080-4f65-b733-ad2567ec1605", "oidc_rp_sign_algo": "RS256", - "oidc_op_discovery_endpoint": "http://localhost:8080/auth/realms/test/", - "oidc_op_jwks_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/certs", - "oidc_op_authorization_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/auth", - "oidc_op_token_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/token", - "oidc_op_user_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/userinfo", + "oidc_op_discovery_endpoint": "http://localhost:8080/realms/test/", + "oidc_op_jwks_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/certs", + "oidc_op_authorization_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/auth", + "oidc_op_token_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/token", + "oidc_op_user_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/userinfo", "oidc_rp_idp_sign_key": "", "oidc_use_nonce": true, "oidc_nonce_size": 32, "oidc_state_size": 32, "oidc_exempt_urls": "[]", "userinfo_claims_source": "userinfo_endpoint", - "oidc_op_logout_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/logout", + "oidc_op_logout_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/logout", "oidc_keycloak_idp_hint": "", "identifier_claim_name": "bsn", "oidc_rp_scopes_list": "[\"openid\", \"bsn\"]" @@ -32,18 +32,18 @@ "oidc_rp_client_id": "testid_public", "oidc_rp_client_secret": "23a12032-e080-4f65-b733-ad2567ec1605", "oidc_rp_sign_algo": "RS256", - "oidc_op_discovery_endpoint": "http://localhost:8080/auth/realms/test/", - "oidc_op_jwks_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/certs", - "oidc_op_authorization_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/auth", - "oidc_op_token_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/token", - "oidc_op_user_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/userinfo", + "oidc_op_discovery_endpoint": "http://localhost:8080/realms/test/", + "oidc_op_jwks_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/certs", + "oidc_op_authorization_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/auth", + "oidc_op_token_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/token", + "oidc_op_user_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/userinfo", "oidc_rp_idp_sign_key": "", "oidc_use_nonce": true, "oidc_nonce_size": 32, "oidc_state_size": 32, "oidc_exempt_urls": "[]", "userinfo_claims_source": "userinfo_endpoint", - "oidc_op_logout_endpoint": "http://localhost:8080/auth/realms/test/protocol/openid-connect/logout", + "oidc_op_logout_endpoint": "http://localhost:8080/realms/test/protocol/openid-connect/logout", "oidc_keycloak_idp_hint": "", "identifier_claim_name": "kvk", "oidc_rp_scopes_list": "[\"openid\", \"kvk\"]"