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
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use Discourse API to check whether username/password combination is valid | 3 | 622 | November 21, 2022 | |
| Can I use the Discourse API to authenticate users in another app? | 17 | 2801 | July 1, 2023 | |
| Logging in discourse using API - using discourse as API server only | 4 | 3764 | September 5, 2019 | |
| How to use the third-party API interface to log in to Discourse? | 2 | 308 | April 16, 2024 | |
| Password verification via REST API | 1 | 1674 | October 11, 2016 |