OfficialSPIProtocol Mapper / ClaimInactive

keycloak-json-remote-claim

groupe-sii/keycloak-json-remote-claim ↗

Protocol mapper that adds claims fetched from a remote JSON endpoint.外部JSON APIから取得した値をクレームに追加

★
56
Forks
30
Contributors
3
Updated
2020-01-08
KC
8.0.1
License
Apache-2.0

What it can doできること3

  • Add a protocol mapper that fetches a JSON value from a remote HTTP/REST endpoint and puts it into a token claim (any JSON type).外部のHTTP/REST APIからJSONを取得してトークンのクレームに入れるプロトコルマッパーを追加(JSONの型は問わない)
  • Optionally send the username and client ID, plus custom query parameters and HTTP headers.ユーザー名やクライアントIDの送信、任意のクエリパラメータやHTTPヘッダーの付与もできる
  • Make a single request when several tokens are issued in one response.1つのレスポンスで複数のトークンを発行する場合も、リクエストは1回で済む

What it cannot do / limitsできないこと・制約4

  • If the remote claim cannot be fetched, no token is issued (HTTP 500).外部からクレームを取得できないとトークンが発行されない(HTTP 500になる)
  • Built for Keycloak 8 on WildFly (standalone.xml modules) — not documented for Quarkus-based Keycloak.WildFly上のKeycloak 8向け(standalone.xml のモジュール登録)。Quarkus版Keycloakでの手順は記載がない
  • Uses the unofficial Protocol Mapper SPI.非公式扱いのProtocol Mapper SPIを使っている
  • The repository is archived, with no commits since 2020.リポジトリはアーカイブ済みで、2020年以降コミットがない

Requirements前提条件