Does anyone know if this Ruby/Rails integration moved to a new location? Or if it was removed, does anyone have a copy of the old code?
(It looks like the Go repo is also gone.)
Does anyone know if this Ruby/Rails integration moved to a new location? Or if it was removed, does anyone have a copy of the old code?
(It looks like the Go repo is also gone.)
It’s very possible @gogo52cn is the same person as gogo52cn · GitHub ; they might be able to let us know?
Is it possible to use discourse as a LDAP provider?
I don’t know if I’m doing it correctly, but this initial sketch for Rails 5.2 seems to work (in case it can save time for anyone). If anyone has suggestions for improving it, let me know.
I also saw an OmniAuth strategy, but I haven’t looked closely at it yet.
No, this not possible.
hello, I installed the plugin in WP-multisite.
I network-activated the plugin. The plugin showed that the connection was sucessful
I configured the credentials in one of the sites to enable Discourse as SSO provider.
However when I click on “Log in with Discourse” I get a 500 Error. Lookin at the logs I found this:
"talk.co-pp.io" 172.17.0.1 "GET /session/sso_provider?sso=bm9uY2U9YTk2ZWZkYzRjMmIyZmJlM2FjNTAzYTYzOWRiYzBkZTQmcmV0dXJuX3Nzb191cmw9aHR0cCUzQSUyRiUyRmNvLXBwLmlv&sig=33b1edba92b8f0d93b0e57edaf262e73a20689aeff2d86e2f61012d9cd99e878 HTTP/1.1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36" "-" 500 906 "-" 0.016 0.018 "-"
Any ideas?
@j127 @supermathie - there is a copy here…
Thanks – I recently switched to Phoenix and rewrote the SSO code in Elixir. (Your forum is great, by the way.)
Ah that’s awesome Josh! Could you add it to the first post of this thread please? Hopefully I will get a chance to use it soon 
Also thank you for the kind words! If you like that forum, I am hoping to launch another (Discourse) forum next year which you might like as well 
Sure, I’ll have to extract it from the Phoenix app, but then I’ll post it on Github. Maybe other people can help improve it, since this is my first real Phoenix site.
Looking forward to seeing it. I read your other forum regularly.
Can I use Discourse as an SSO provider if I’m also using SSO as my discourse auth?
I have things setup, but it doesn’t seem like Discourse correctly calls back the return URL.
…and yes, I do realize that Discourse is just acting as an SSO proxy, but the primary web app only implements Discourse SSO. This is not meant to be a permanent strategy but a temporary one, or at least a useful tool to have.
こんにちは、
ASP.NET Core を使用しており、以下のエラーが発生しています。
SSO 認証がシークレットの欠落により失敗しました。この問題を解決するには、サイト管理者に連絡してください。
この問題に対処するために必要なコードの変更や設定の変更についてご教示ください。
私も同じ問題が発生しています。
https://review.discourse.org/t/fix-better-error-when-sso-fails-due-to-blank-secret-7946/4894
「blank secret(空のシークレット)」と表示されているようです。
ドメインが一致していないことが原因かもしれませんか?
Discourse にバグがあるようです
sso_secret は確実に nil です ![]()
25 行目にスクロールしてください。return_url からホストを解析し、それを使ってシークレットを検索します。
SSO フローから API キーを取得して、SSO 認証された Discourse ユーザーから投稿を作成することは可能でしょうか?
それとも、推奨される方法は「全ユーザー」用の API キーを作成し、投稿を作成する際に、SSO 認証フローから返されたユーザー名と組み合わせてその API キーを使用することでしょうか?
これは、当社の WordPress プラグインが処理する方法です。ユーザーの Discourse ユーザー名をデータベースに保存し、「全ユーザー」用 API キーと組み合わせて、そのユーザー名で投稿を公開します。
皆さん、こんにちは。
discourse-auth-proxy について重要なセキュリティ修正をリリースしました。新しいコードをダウンロードして適用してください。
DockerHub のイメージを使用している場合は、修正が含まれるバージョンは discourse/auth-proxy:20200609.185704 です。
既存のMediaWiki用SSOプラグイン(例:https://www.mediawiki.org/wiki/Extension:PluggableSSO)を改良して、技術的な知識があまりなくても動作するように(設定ページに必要な情報をすべて入力するだけで完了できるように)できる方がいらっしゃらないかと思いまして。
ぜひお試しください:
これはPluggableAuth拡張機能のプラグインとして動作します。まだ公開サイトでは使用していませんし、単体テストなどが非常に不足していますが、現時点では機能しているようです。MediaWiki拡張機能のインストールや設定に必要な技術以外のスキルは不要です。