複数のopenid-connect認証プロバイダー

I am looking for a plugin to support SSO with an OpenID connect provider (specifically Keycloak) but need to be able to support multiple realms, and therefore multiple openid connect providers.

From what I have read on the OpenID connect plugin, you can only setup a single client which uses a discovery document such as https://{keycloak_server_url}/auth/realms/{realm}/.well-known/openid-configuration

However we have users across many realms in keycloak that need to be supported by a single (self hosted) Discourse installation.

Is there any way to allow Discourse to be setup with mutiple clients and then use a short url to initiate a SSO with a specific realm e.g.

https://{discourse_server}/sso/realm/A
https://{discourse_server}/sso/realm/B
https://{discourse_server}/sso/realm/C

Each with their own OAUTH client config.

「いいね!」 3

こんにちは、私も全く同じ問題を抱えています。もしかして、それ以降に解決策を見つけられましたか?

:slight_smile: ありがとうございます

@MSG160@ImaCrea

どちらか解決策は見つかりましたか?:grin: