There is no API route that will return a users raw password, so I don’t think this approach is going to work. From your description, it sounds like you want to use Discourse as the SSO provider for your website. That could be made to work. Details about how to set that up are here: Use Discourse as an identity provider (SSO, DiscourseConnect).
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Use Discourse API to check whether username/password combination is valid | 3 | 596 | 2022 年11 月 21 日 | |
| Can I use the Discourse API to authenticate users in another app? | 17 | 2728 | 2023 年7 月 1 日 | |
| Logging in discourse using API - using discourse as API server only | 4 | 3738 | 2019 年9 月 5 日 | |
| How to use the third-party API interface to log in to Discourse? | 2 | 307 | 2024 年4 月 16 日 | |
| Password verification via REST API | 1 | 1668 | 2016 年10 月 11 日 |