Hi all - I am interested in setting up a few small community sites with discourse plus nextcloud for document and media content sharing. It would be loverly and preferable to have SSO with discourse as SSO provider. If anyone has succeeded in doing this and can share a recipe here on how to do it I’d appreciate it. Thanks!
The communities I am looking at creating are for my own geographically dispersed family, my neighborhood, and my son’s school.
I might also be interested in setting up a nextcloud for the organization I work for that already has an active community website. Though my organization’s community uses discourse, it uses wordpress as SSO auth now. Down the pike I’m also interested in flipping that around so we can benefit from features reliant on discourse as SSO auth.
Edit: this seems to be the page - I will be exploring this today and will let others know what I come up with if anything. Any guidance along the way much appreciated.
また、Nextcloud Web アプリの唯一のログイン方法がこれである場合、ユーザーはデスクトップまたはモバイルクライアントのユーザー名とパスワードをどのように設定するのだろうかと思っています。おそらく、Nextcloud Web アプリのアカウント設定に移動して、Nextcloud ログイン資格情報を設定する必要があることを知っておく必要があるでしょう。
disable auto create new users = Discourse に存在する新しいユーザーを Nextcloud で作成できるようにします。
create users with disabled account = 新しく作成されたユーザーを無効にしません。
allow users to connect social logins with their account = 既存のユーザーが Discourse を介したログインを選択できるようにします( Discourse を介したログインをデフォルトで許可する方法が分かりません)。
update user profile every login = ログインごとに Discourse グループを Nextcloud グループと同期します。( ユーザー名、名前、自己紹介、その他のプロファイル情報は正しく同期されません)
do not prune not available user groups on login ( これが何をするのか分かりませんが、デフォルトで有効になっています。ユーザーが Discourse からマッピングされていない場合、既存の Nextcloud グループからユーザーを削除しないのではないかと推測しています。)
automatically create groups if they do not exist = 無効にしました。なぜなら、望ましいグループを複製する醜いグループ名が作成されるからです(下記参照)。
restrict login for users without mapped groups = 無効にしました。
restict login for users without assigned groups = 無効にしました。
disable notify admins about new users = 新しい Nextcloud ユーザーが作成されたことを確認するのに役立つため、無効にしました。
ユーザー名、アバター、自己紹介の同期は緊急性は低いですが、正常に機能しているのを見ると良いでしょう。ログインごとにこれらの詳細をユーザーに更新できない理由がわかりません。たとえば、Discourseはメールアドレスごとに1人のユーザーしか許可しませんが、私は同じメールアドレスで2番目のNextcloudユーザーを作成できるようです。管理設定のPrevent creating an account if the email address exists in another accountで防止しない限り。理想的には、メールアドレスに基づいてこれらのアカウントを自動的に接続するだけです。