ユーザーの生パスワードを返す API ルートは存在しないため、このアプローチは機能しないと思われます。ご説明から、Discourse を御社のウェブサイトの SSO プロバイダーとして使用したいという意図と推察されます。これは実現可能です。設定方法の詳細は、こちらをご覧ください:https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974。
simon
2
関連トピック
| トピック | 返信 | 表示 | アクティビティ | |
|---|---|---|---|---|
| Use Discourse API to check whether username/password combination is valid | 3 | 635 | 2022 年 11 月 21 日 | |
| Can I use the Discourse API to authenticate users in another app? | 17 | 2863 | 2023 年 7 月 1 日 | |
| Logging in discourse using API - using discourse as API server only | 4 | 3772 | 2019 年 9 月 5 日 | |
| How to use the third-party API interface to log in to Discourse? | 2 | 315 | 2024 年 4 月 16 日 | |
| Password verification via REST API | 1 | 1674 | 2016 年 10 月 11 日 |