# Create user automatically in Discourse when they sign up in Wordpress?

**URL:** <https://meta.discourse.org/t/create-user-automatically-in-discourse-when-they-sign-up-in-wordpress/58494>\
**Category:** WordPress\
**Created:** [Mars 6, 2017, 7:35 UTC](https://meta.discourse.org/t/create-user-automatically-in-discourse-when-they-sign-up-in-wordpress/58494 "2017-03-06T19:35:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [Mars 7, 2017, 7:20 UTC](https://meta.discourse.org/t/create-user-automatically-in-discourse-when-they-sign-up-in-wordpress/58494/6 "2017-03-07T07:20:05Z")

</div>

An ugly, but easy hack we’ve been using is to embed Discourse in an invisible `iframe` on the registration success page. Since no user interaction is required to trigger the login (assuming your instance is `login required` or you directly embed the SSO URL), this should be enough to create the account 🙂

---

_[View the full topic](https://meta.discourse.org/t/create-user-automatically-in-discourse-when-they-sign-up-in-wordpress/58494)._
