# Using Discourse as SSO provider but facilitating users continuing task on Wordpress?

**URL:** https://meta.discourse.org/t/using-discourse-as-sso-provider-but-facilitating-users-continuing-task-on-wordpress/240706
**Category:** WordPress
**Created:** [October 3, 2022, 9:22am UTC](https://meta.discourse.org/t/using-discourse-as-sso-provider-but-facilitating-users-continuing-task-on-wordpress/240706 "2022-10-03T09:22:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [October 3, 2022, 3:58pm UTC](https://meta.discourse.org/t/using-discourse-as-sso-provider-but-facilitating-users-continuing-task-on-wordpress/240706/2 "2022-10-03T15:58:20Z")

</div>

If you’ve set up Wordpress as a Discourse client to Discourse (as a provider) in the standard fashion your users should be automatically redirected back to your Wordpress after signing up.

> [@Configure single sign-on (SSO) with WP Discourse and DiscourseConnect](https://meta.discourse.org/t/configure-single-sign-on-sso-with-wp-discourse-and-discourseconnect/223494#logging-in-to-wordpress-with-discourse-discourseconnect-client-9):
>
> The [WP Discourse](https://github.com/discourse/wp-discourse) plugin lets you set up [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) in Wordpress so your users can use their Wordpress account to log into Discourse, or their Discourse account to log into Wordpress. Before you can set up [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) you first have to install the [WP Discourse](https://github.com/discourse/wp-discourse) plugin on Wordpress and Connect it to your Discourse. If you’re ready to get started, start by watching this short video, or follow the instructions below. Next Step Once you’ve set up [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), you may want to check o…

I’ve set up [https://wordpress.pavilion.tech](https://wordpress.pavilion.tech) as a client of [https://test.pavilion.tech](https://test.pavilion.tech) to demonstrate this.

1. Go to the [Wordpress login](https://wordpress.pavilion.tech/wp-login.php).
2. Click “Log in with Discourse” and you’ll be directed to test.pavilion.tech
3. Create an account in the Discourse Create Account modal that appears
4. Click the link in the account confirmation email you receive.
5. You’ll be redirected back to Wordpress

Which part of this flow is not working for you?

---

_[View the full topic](https://meta.discourse.org/t/using-discourse-as-sso-provider-but-facilitating-users-continuing-task-on-wordpress/240706)._
