Non esiste una rotta API che restituisca la password in chiaro di un utente, quindi non credo che questo approccio possa funzionare. Dalla tua descrizione, sembra che tu voglia utilizzare Discourse come provider SSO per il tuo sito web. Questo potrebbe essere realizzato. I dettagli su come configurarlo si trovano qui: Use Discourse as an identity provider (SSO, DiscourseConnect).
simon
2
Argomenti correlati
| Argomento | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
| Use Discourse API to check whether username/password combination is valid | 3 | 622 | Novembre 21, 2022 | |
| Can I use the Discourse API to authenticate users in another app? | 17 | 2802 | Luglio 1, 2023 | |
| Logging in discourse using API - using discourse as API server only | 4 | 3766 | Settembre 5, 2019 | |
| How to use the third-party API interface to log in to Discourse? | 2 | 308 | Aprile 16, 2024 | |
| Password verification via REST API | 1 | 1674 | Ottobre 11, 2016 |