# Redirect to Register link after invite while using SSO

**URL:** https://meta.discourse.org/t/redirect-to-register-link-after-invite-while-using-sso/212501
**Category:** WordPress
**Created:** [December 17, 2021, 11:46pm UTC](https://meta.discourse.org/t/redirect-to-register-link-after-invite-while-using-sso/212501 "2021-12-17T23:46:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Himanshu\_Singh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/himanshu_singh/32/216438_2.png) [@Himanshu\_Singh](https://meta.discourse.org/u/Himanshu_Singh)
#### Post date: [December 17, 2021, 11:46pm UTC](https://meta.discourse.org/t/redirect-to-register-link-after-invite-while-using-sso/212501/1 "2021-12-17T23:46:06Z")

</div>

I am using SSO and have allowed users to invite new users with the Invites feature.  
This is what happens

1. The invitee gets an email and on clicking is taken to Discourse page
2. Then if invitee clicks on continue, she is redirected to the URL mentioned in [Discourse Connect](https://meta.discourse.org/t/13045?silent=true) URL field in settings. I have entered the login page URL for users who try to access the the community directly without login in

But, this restricts me from directing invited users to the registration page so that they can register with SSO and then use the community.

Is there a workaround to solve this?

---

<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: [December 20, 2021, 11:33am UTC](https://meta.discourse.org/t/redirect-to-register-link-after-invite-while-using-sso/212501/2 "2021-12-20T11:33:35Z")

</div>

Hey, I see you also previously raised a similar issue here

> [@Is "partial" SSO possible?](https://meta.discourse.org/t/is-partial-sso-possible/185848/6):
>
> I am excited to see the compatibility feature between SSO and invites but it does not seem to work on my end. My main site is on WordPress and I am using the [WP Discourse](https://github.com/discourse/wp-discourse) plugin to integrate the two applications. I also have a registration form that conducts email authentication on WordPress and I have written custom code to prevent Discourse from sending duplicate verification emails to users on registration. I have enabled must\_approve\_users in discourse to prevent anyone for accessing the co…

In short, the [WP Discourse](https://github.com/discourse/wp-discourse) plugin hasn’t added support for invites alongside [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true), and this hasn’t been on my radar. But it is now! I’ll look at adding explicit support for invites when using [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) with [WP Discourse](https://github.com/discourse/wp-discourse).

---

<div class="post-metadata">

### Author: ![Himanshu\_Singh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/himanshu_singh/32/216438_2.png) [@Himanshu\_Singh](https://meta.discourse.org/u/Himanshu_Singh)
#### Post date: [December 22, 2021, 4:40am UTC](https://meta.discourse.org/t/redirect-to-register-link-after-invite-while-using-sso/212501/3 "2021-12-22T04:40:06Z")

</div>

Thanks Angus. Looking forward to see what you come up with 🙂
