2

尝试访问受保护的资源时,我从 keycloak-gatekeeper 收到此错误

unable to decode the state parameter    {"state": "8d07f10b-d096-4241-8a42-9f169de11352", "error": "illegal base64 data at input byte 8"}

这是我的码头工人撰写:

version: '3'
services:
  keycloak-proxy:
    image: "keycloak/keycloak-gatekeeper"
    environment:
     - PROXY_LISTEN=0.0.0.0:3000
     - PROXY_DISCOVERY_URL=http://keycloak.example.com:8181/auth/realms/realmcom
     - PROXY_CLIENT_ID=webapp
     - PROXY_CLIENT_SECRET=0b57186c-e939-48ff-aa17-cfd3e361f65e
     - PROXY_UPSTREAM_URL=http://test-server:8000
    ports:
      - "8282:3000"
    command:
      - "--verbose"
      - "--enable-refresh-tokens=true"
      - "--enable-default-deny=true"
      - "--resources=uri=/*"
      - "--enable-session-cookies=true"
      - "--encryption-key=AgXa7xRcoClDEU0ZDSH4X0XhL5Qy2Z2j"
  test-server:
    image: "test-server"
4

1 回答 1

2

这似乎是一个错误 - https://github.com/keycloak/keycloak-gatekeeper/pull/433#issuecomment-443123758。您能否提交 Jira(https://issues.jboss.org/browse/KEYCLOAK),添加受影响的版本和重现问题的步骤?

于 2018-11-30T12:46:48.703 回答