Allow using the user_id as the client id for the event (so that in metrics we can distinguish individual accounts).
This commit is contained in:
parent
f51ad8834b
commit
7570332f6c
@ -13,4 +13,5 @@ KC_HTTP_RELATIVE_PATH="/auth"
|
|||||||
KC_HOSTNAME_STRICT_HTTPS="false"
|
KC_HOSTNAME_STRICT_HTTPS="false"
|
||||||
KEYCLOAK_ADMIN=admin
|
KEYCLOAK_ADMIN=admin
|
||||||
KEYCLOAK_ADMIN_PASSWORD=admin
|
KEYCLOAK_ADMIN_PASSWORD=admin
|
||||||
REALM_NAME=cerc
|
X_API_CHECK_REALM=cerc
|
||||||
|
X_API_CHECK_CLIENT_ID="%user_id%"
|
||||||
|
@ -3,7 +3,7 @@ RUN apk add --update --no-cache git
|
|||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
RUN git clone https://github.com/cerc-io/keycloak-api-key-demo.git && \
|
RUN git clone https://github.com/cerc-io/keycloak-api-key-demo.git && \
|
||||||
cd keycloak-api-key-demo && \
|
cd keycloak-api-key-demo && \
|
||||||
git checkout '043309204aba4c3cb2f6a006c58a9a430b733b29' && \
|
git checkout 'd29c0894a8b79d8f9df2f030a2537807177cc283' && \
|
||||||
mvn -f api-key-module package
|
mvn -f api-key-module package
|
||||||
|
|
||||||
FROM quay.io/keycloak/keycloak:20.0
|
FROM quay.io/keycloak/keycloak:20.0
|
||||||
|
Loading…
Reference in New Issue
Block a user