没有 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 | 2 | 684 | 2022年十一月21日 | |
| Can I use the Discourse API to authenticate users in another app? | 16 | 3182 | 2023年六月1日 | |
| Logging in discourse using API - using discourse as API server only | 4 | 3843 | 2019年九月5日 | |
| How to use the third-party API interface to log in to Discourse? | 2 | 338 | 2024年四月16日 | |
| Password verification via REST API | 1 | 1696 | 2016年十月11日 |