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).
simon
2
נושאים קשורים
| נושא | תגובות | צפיות | פעילות | |
|---|---|---|---|---|
| Use Discourse API to check whether username/password combination is valid | 3 | 631 | 21 בנובמבר, 2022 | |
| Can I use the Discourse API to authenticate users in another app? | 17 | 2815 | 1 ביולי, 2023 | |
| Logging in discourse using API - using discourse as API server only | 4 | 3767 | 5 בספטמבר, 2019 | |
| How to use the third-party API interface to log in to Discourse? | 2 | 308 | 16 באפריל, 2024 | |
| Password verification via REST API | 1 | 1674 | 11 באוקטובר, 2016 |