# SSO via external site vs. subfolder setup

**URL:** <https://meta.discourse.org/t/sso-via-external-site-vs-subfolder-setup/40576>\
**Category:** SSO\
**Created:** [2016 年 3 月 4 日午後 5:29 UTC](https://meta.discourse.org/t/sso-via-external-site-vs-subfolder-setup/40576 "2016-03-04T17:29:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![thabbs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thabbs/32/82150_2.png) [@thabbs](https://meta.discourse.org/u/thabbs)\
**Post date:** [2016 年 3 月 4 日午後 5:29 UTC](https://meta.discourse.org/t/sso-via-external-site-vs-subfolder-setup/40576/1 "2016-03-04T17:29:01Z")

</div>

I have a fresh subfolder setup and connected an external SSO interface. The login and creation of the local discourse accounts is working perfectly.  
But once the user gets created via session/sso\_login he is not recognized as valid user. There’s no error message at all - the user just gets redirected to the last visited page - that’s it.

Is there any known issue with using external SSO in a subfolder setup? The user never is able to act as active user although written to the database and shown up in the admin panel which was opened before activating SSO. When I leave the panel and log out the admin user nobody is able to access the forum anymore until I disable the SSO option manually.

The proxy setup is rather complex. Probably this is the reason for my issue. But before discussing it I’d like to know if anybody has already confirmed that SSO in a subfolder setup is working in general.

---

_[View the full topic](https://meta.discourse.org/t/sso-via-external-site-vs-subfolder-setup/40576)._
