Copyright(C) Nomura ResearchInstitute, Ltd. All rights reserved. 21
SPI Info
管理コンソールのServer Info
画面より、SPIの種類・ロードさ
れているProviderを確認でき
る
デプロイしたカスタムの
Provider実装も表示される
付けたProvider IDで表示
23.
Copyright(C) Nomura ResearchInstitute, Ltd. All rights reserved. 22
注意点
Internal SPIを拡張すると、起動時にWARNログが
出る
将来予告なく変更される可能性があるため、バー
ジョンアップ時に要注意
Red Hat SSOだと、Internal SPIを使っている箇所
はサポート対象外
サポート問い合わせ時に自分達で切り分ける必要があるかも!?
WARN [org.keycloak.services] (ServerService Thread Pool -- 57) KC-SERVICES0047: freemark
er (jp.openstandia.keycloak.forms.login.freemarker.FreeMarkerLoginFormsProviderExtFactory) i
s implementing the internal SPI login. This SPI is internal and may change without notice
Copyright(C) Nomura ResearchInstitute, Ltd. All rights reserved. 34
中級編
「○○でログイン」に対応したい
よくある背景
KeycloakのSocial Loginで用意されていない外部IdPを使って、
Keycloakにログインできるようにしたい
▪LINEで認証
▪Login with Amazonで認証
▪Discordで認証
▪・・・
36.
Copyright(C) Nomura ResearchInstitute, Ltd. All rights reserved. 35
中級編
「○○でログイン」に対応したい
標準機能
ビルトインはメジャーなIdPs + OIDC/SAML2
メンテ大変なので、Keycloakチームとしてはもう増やしたくないかも
▪http://lists.jboss.org/pipermail/keycloak-dev/2019-
April/011992.html
We've not had any requests for vk.com until now so we would probably not
accept it into the core Keycloak codebase. This is simply down to
maintenance. If you want to develop a plugin though we can link to it from
the extensions list on keycloak.org.
Copyright(C) Nomura ResearchInstitute, Ltd. All rights reserved. 46
Keycloak Deployer による上書き方式の注意点
今後のバージョンアップ時に要注意
http://lists.jboss.org/pipermail/keycloak-dev/2019-
June/012107.html
ホットデプロイ対応時に、意図せずこのKeycloak Deployer 方式で
同名Provider IDで上書き可能になった模様
というわけで、別途JIRAチケットを作成してオフィシャル対応してい
きたいところ
This kinda works by accident and it's not fully reliable as something could
change.
I'd like to make sure only one provider is registered with a specific id,
but allow disabling built-in providers.
If that sounds like a plan please create an issue.