Log the api_key

This commit is contained in:
Thomas E Lackey 2022-12-14 12:10:51 -06:00
parent 99cabc080c
commit 36381fef35
2 changed files with 2 additions and 2 deletions

View File

@ -14,4 +14,4 @@ KC_HOSTNAME_STRICT_HTTPS="false"
KEYCLOAK_ADMIN=admin
KEYCLOAK_ADMIN_PASSWORD=admin
X_API_CHECK_REALM=cerc
X_API_CHECK_CLIENT_ID="%user_id%"
X_API_CHECK_CLIENT_ID="%api_key%"

View File

@ -3,7 +3,7 @@ RUN apk add --update --no-cache git
WORKDIR /build
RUN git clone https://github.com/cerc-io/keycloak-api-key-demo.git && \
cd keycloak-api-key-demo && \
git checkout '69c1903a6f1bdecb654e9982708239c698e3d648' && \
git checkout '60c48b5c3e562c6cf2c85cfdd8f08145b0ebac5a' && \
mvn -f api-key-module package
FROM quay.io/keycloak/keycloak:20.0