discourse-samlプラグインとOktaでのSSO設定に問題あり

I’m trying to configure a self-hosted Docker instance of Discourse to authenticate users with SAML, using Okta as the IdP. At first my setup looked identical to what @runofthemill posted here: Discourse-saml + Okta endless redirect. But then, thanks @skoota, I re-set all the native SSO configs to the defaults, since I understand want to be relying just on the plugin.

So now plugin is successfully installed, and SAML appears as a login option, but I get this error when I try to use it:

I took a look at the library this error seems to orginate from, and it’s not obvious to me what’s going wrong. But I’m not a rubyist, so maybe (hopefully!) I’m missing something obvious.

Suggestions? Thanks in advance.

Did you end up getting Okta working? Configuring Discourse + Okta is on my todo list. Thanks.

Nope, couldn’t figure it! Thanks for asking though. If you do wind up figuring out how to make them work nicely together, I’d be interested to know what you discover.

「いいね!」 1

I was able to get Okta and Discourse working together nicely via OpenID Connect. I couldn’t figure out Okta via SAML, but it seems like that should be possible.

@Chris_Reilly、Okta を介してグループをプッシュする方法は見つかりましたか?

これが機能するかどうか疑問に思っています:

グループ同期には SAML が必要です。OpenID ではグループ同期はサポートされていません。Okta は SAML をサポートしていますが、別途統合と SAML プラグイン/エンタープライズプランが必要です。

「いいね!」 1

Okta 側の設定情報を共有いただけますでしょうか?アプリの作成と割り当てはどのように行いましたか?Discourse では OpenID オプションでログインできるのですが、Okta から Discourse への認証開始ができません。

最終的に Auth0 を採用しましたが、ユーザーに直接「ブックマーク」アプリ以外の形でランチャーリンクを提供することができませんでした。Discourse のセッションが存在しない状態で保護された URL にアクセスした場合、新しいセッションが作成されるはずです。Discourse では他のすべてのログインオプションを無効化していたため、ユーザーはログインモーダルを表示することさえありませんでした。POC としてはスムーズな設定でしたが、シングルログアウトのシナリオについては結局解決に至りませんでした。

「いいね!」 1