# Session/sso wrong redirect

**URL:** <https://meta.discourse.org/t/session-sso-wrong-redirect/46103>\
**Category:** Product Support\
**Created:** [June 21, 2016, 5:58am UTC](https://meta.discourse.org/t/session-sso-wrong-redirect/46103 "2016-06-21T05:58:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![iamntz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamntz/32/114670_2.png) [@iamntz](https://meta.discourse.org/u/iamntz)\
**Post date:** [June 23, 2016, 7:56am UTC](https://meta.discourse.org/t/session-sso-wrong-redirect/46103/2 "2016-06-23T07:56:44Z")

</div>

I found the problem.

In the proxy nginx i had this thing:

```plaintext
proxy_redirect http://discourse.mysite.com:8820/ https://discourse.mysite.com;

```

Seems that something is missing? No? It is, the final slash is not there!

I added and everything looks just fine! Yay.

```plaintext
proxy_redirect http://discourse.mysite.com:8820/ https://discourse.mysite.com/;

```

---

_[View the full topic](https://meta.discourse.org/t/session-sso-wrong-redirect/46103)._
