# Nginx SSO service for different backend web servers/apps

**URL:** <https://www.ruby-forum.com/t/nginx-sso-service-for-different-backend-web-servers-apps/211634>\
**Category:** NGINX\
**Created:** [September 9, 2011, 12:33pm UTC](https://www.ruby-forum.com/t/nginx-sso-service-for-different-backend-web-servers-apps/211634 "2011-09-09T12:33:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [September 9, 2011, 12:33pm UTC](https://www.ruby-forum.com/t/nginx-sso-service-for-different-backend-web-servers-apps/211634/1 "2011-09-09T12:33:07Z")

</div>

Hi

We have a couple different services running in different machines, web  
servers/wep applications.  
We would like to have a Single Sign-On (SSO) in front of these servers,  
now they have their own accounts + passwords, eg. login pages.  
So i am asking is there any good SSO modules for nginx to use for or any  
help how we can make it happen?

Pekka Panula | Jatkuvat palvelut | Sofor Oy | [www.sofor.fi](http://www.sofor.fi)  
Takakaarre 3 | PL 51 |FIN-62201 KAUHAVA | tel. +358 6 432 3111 | fax.  
+358  
6 432 3555  
Mob. + 358 50 384 3232 | removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [December 13, 2011, 11:03pm UTC](https://www.ruby-forum.com/t/nginx-sso-service-for-different-backend-web-servers-apps/211634/2 "2011-12-13T23:03:05Z")

</div>

Hi there,

Any luck on this topic? I’m trying to see if we can achieve exactly the  
same scenario.

Jaap

Posted at Nginx Forum:

> **[Re: nginx SSO service for different backend web servers/apps](https://forum.nginx.org/read.php?2,215005,220014#msg-220014)**
>
> Hi We have a couple different services running in different machines, web servers/wep applications. We would like to have a Single Sign-On (SSO) in front of these servers, now they have their own accounts + passwords, eg. login pages. So i am asking...

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [December 13, 2011, 11:33pm UTC](https://www.ruby-forum.com/t/nginx-sso-service-for-different-backend-web-servers-apps/211634/3 "2011-12-13T23:33:59Z")

</div>

On Wed, Dec 14, 2011 at 12:02 AM, q42jaap [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Any luck on this topic? I’m trying to see if we can achieve exactly the  
> same scenario.

The easiest way is to use embedded scripting. You can authenticate and  
authorize from within some perl handler, where you can set variables and  
pass them to upstream through internal redirect. It’s not perfect and  
maybe  
even ugly, but should work.

Proper solution would be to use scripted access handler, which is doable  
with 3rd party modules/distributions.
