# Cannot connect WP Discourse to Discourse forum

**URL:** https://meta.discourse.org/t/cannot-connect-wp-discourse-to-discourse-forum/51119
**Category:** WordPress
**Created:** [05.Октябрь.2016 14:03:01 UTC](https://meta.discourse.org/t/cannot-connect-wp-discourse-to-discourse-forum/51119 "2016-10-05T14:03:01Z")
**Posts on this page:** 1
**Showing post:** 20

<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: [20.Май.2018 23:51:03 UTC](https://meta.discourse.org/t/cannot-connect-wp-discourse-to-discourse-forum/51119/20 "2018-05-20T23:51:03Z")

</div>

> [@bekircem](#):
>
> `wp-json/wp-discourse/v1/update-topic-content` works fine.
> 
> `/wp-json/wp-discourse/v1/update-user` 404 error.

The update-user route is only initialized on WordPress if you have enabled the SSO Provider option. If you haven’t enable the SSO Provider option, then returning a `404` error is the correct response. From the option’s description:

> This setting will only be activated if your site is functioning as the SSO provider for Discourse (this can be overridden by hooking into the ‘wpdc\_use\_discourse\_user\_webhook’ filter.)

The update-user webhook was added to the plugin before the Create or Sync Discourse Users on Login option was added (that option is found on the SSO Provider options tab.) The Create or Sync Discourse Users on Login option is probably more useful for most cases.

If you have enabled the SSO Provider option and the Update Userdata webhook and you are still getting a `404` error, please let me know and I’ll look into it.

---

_[View the full topic](https://meta.discourse.org/t/cannot-connect-wp-discourse-to-discourse-forum/51119)._
