# Problem redirecting to forum after login when using MemberMouse

**URL:** <https://meta.discourse.org/t/problem-redirecting-to-forum-after-login-when-using-membermouse/77871>\
**Category:** WordPress\
**Created:** [January 12, 2018, 7:22pm UTC](https://meta.discourse.org/t/problem-redirecting-to-forum-after-login-when-using-membermouse/77871 "2018-01-12T19:22:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [January 12, 2018, 7:37pm UTC](https://meta.discourse.org/t/problem-redirecting-to-forum-after-login-when-using-membermouse/77871/2 "2018-01-12T19:37:57Z")

</div>

> [@lkramer](#):
>
> The only problem, is that the URL of the Discourse topic the person was reading doesn’t seem to be passed to WordPress.

The sso return path is saved on Discourse as the value of the nonce key. If you can find a way to get your WordPress site to redirect back to Discourse (`/session/sso_login?`) with the sso params users should get redirected to the page they clicked the login link on.

---

_[View the full topic](https://meta.discourse.org/t/problem-redirecting-to-forum-after-login-when-using-membermouse/77871)._
