# Como transferir senhas do WordPress para o Discourse?

**URL:** https://meta.discourse.org/t/transfer-passwords-from-wordpress-to-discourse/105733
**Category:** WordPress
**Created:** [5 Janeiro , 2019 02:03 UTC](https://meta.discourse.org/t/transfer-passwords-from-wordpress-to-discourse/105733 "2019-01-05T02:03:27Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [5 Janeiro , 2019 02:26 UTC](https://meta.discourse.org/t/transfer-passwords-from-wordpress-to-discourse/105733/2 "2019-01-05T02:26:01Z")

</div>

> [@ibbybenali](#):
>
> I was wondering if it would be possible to transfer passwords from Wordpress to Discourse if one would decide to delete their Wordpress at one point in time when Wordpress is used as the SSO provider.

For this to work, it would need to be possible to set a Discourse password through the API. I’m fairly sure this can’t be done. The best information I can find about it is here: [Is there an API for changing a password? - #2 by blake](https://meta.discourse.org/t/is-there-an-api-for-changing-a-password/52537/2). It is suggesting to trigger the password reset email through the API.

> [@ibbybenali](#):
>
> is it possible to send out a batch password reset email to users?

Yes, one approach would be to write a script that loops through your users and makes the API call that’s given in the previous post I linked to. It is possible that you will run into API rate limit issues with that. Here’s another way it could be done: [Reset user password by Admin - #10](https://meta.discourse.org/t/reset-user-password-by-admin/56987/10).

---

_[View the full topic](https://meta.discourse.org/t/transfer-passwords-from-wordpress-to-discourse/105733)._
