# בעיה עם WordPress 
 Discourse SSO עבור משתמשים מחוברים

**URL:** <https://meta.discourse.org/t/problem-with-wordpress-discourse-sso-for-logged-in-users/257770>\
**Category:** WordPress\
**Created:** [11 במרץ,‏ 2023,‏ 2:55am UTC](https://meta.discourse.org/t/problem-with-wordpress-discourse-sso-for-logged-in-users/257770 "2023-03-11T02:55:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![smileBeda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smilebeda/32/272497_2.png) [@smileBeda](https://meta.discourse.org/u/smileBeda)\
**Post date:** [11 במרץ,‏ 2023,‏ 10:00am UTC](https://meta.discourse.org/t/problem-with-wordpress-discourse-sso-for-logged-in-users/257770/3 "2023-03-11T10:00:57Z")

</div>

Thanks @angus for this confirmation

While it still feels weird, I’ve gone ahead and added a redirect to the `session/sso?return_path=` on user login in wp  
The return path I’ve set to the referrer from wp (if any) or the wp homepage

That works great and makes sure the user is logged in on both instances  
I had to enable the setting in discourse to allow “any return path” though, since by default discourse disallows “external” return paths

Do you see any issue enabling this setting?

Thanks again for the kind reply and “official” confirmation plus documentation link!

---

_[View the full topic](https://meta.discourse.org/t/problem-with-wordpress-discourse-sso-for-logged-in-users/257770)._
