# 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:** 1

<div class="post-metadata">

**Author:** ![glenatron](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glenatron/32/272996_2.png) [@glenatron](https://meta.discourse.org/u/glenatron)\
**Post date:** [October 3, 2022, 9:22am UTC](https://meta.discourse.org/t/using-discourse-as-sso-provider-but-facilitating-users-continuing-task-on-wordpress/240706/1 "2022-10-03T09:22:04Z")

</div>

We have a Wordpress site with an associated Discourse instance and it’s all working fine except that there are some learning activities on the Wordpress side that requires a user to be signed in. If a user already exists that works fine, but if a new user wants to show up and do one of the courses, they get redirected through to Discourse to create an account and then have to go through email verification and sign in. After that they go into the standard “welcome to Discourse” helpers, which is great for users who signed up through Discourse but if they signed up in the interests of doing a learning activity it is very confusing and I’d like to be able to send them straight back to that part of Wordpress.

Is there a built-in way to pass a redirect url to [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) registration so that it knows to direct the user back to the front-end site when they complete sign-up, or even just so that I can put it in a message? This works great when the user already exists it’s only a problem for sign-in.

---

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