没有 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 | 631 | 2022 年11 月 21 日 | |
| Can I use the Discourse API to authenticate users in another app? | 17 | 2829 | 2023 年7 月 1 日 | |
| Logging in discourse using API - using discourse as API server only | 4 | 3768 | 2019 年9 月 5 日 | |
| How to use the third-party API interface to log in to Discourse? | 2 | 309 | 2024 年4 月 16 日 | |
| Password verification via REST API | 1 | 1674 | 2016 年10 月 11 日 |