他にも関心のある方がいらっしゃるかもしれませんので、参考までに:私はアプリケーション内で sync_sso API を使用して、Discourse 上のユーザーを作成・更新し、そのユーザー名を取得しました。その後、Discourse への API 呼び出し(インスタンスのマスター API キーを使用)でそのユーザー名を利用しています。Sync DiscourseConnect user data with the sync_sso route に記載されている通り、非常にシンプルなアプローチでした。
maggiomj
(Matt Maggiore)
5
関連トピック
| トピック | 返信 | 表示 | アクティビティ | |
|---|---|---|---|---|
| How to use the third-party API interface to log in to Discourse? | 2 | 309 | 2024 年 4 月 16 日 | |
| Can I use the Discourse API to authenticate users in another app? | 17 | 2830 | 2023 年 7 月 1 日 | |
| Discourse SSO synced login with API | 0 | 1339 | 2020 年 9 月 21 日 | |
| Discourse Login & Registeration | 4 | 3569 | 2016 年 9 月 28 日 | |
| Discourse login from external site | 0 | 977 | 2023 年 1 月 10 日 |