Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best approach for Single Sign On Application Development that is lightweight?

By lightweight I mean not too much javascript. I know stackexchange does use single sign-on. Basically is the login credential stored as cookie? Or combination of IP-Address and other specific information about the logged in user?

share|improve this question
up vote 1 down vote accepted

There is no need to use JavaScript in an SSO implementation. There are a number of existing Single Sign On solutions that do not utilize JavaScript. I suggest that you look at using one of these before you build SSO from scratch. I don't know if any of these qualify as "lightweight" in your book. Some will offer more features than others. Some are easier to set up than others. All should be fairly seamless to the end user.

If you do need to build SSO from scratch for whatever reason, you should look at the internals of an existing open source SSO solution like CAS to get an idea of how you can implement.

share|improve this answer
Thanks. I should have checked wiki. I like JOSSO (since I am comfortable with Java Technology and also it supports non-java applications as well) – user50877 Mar 30 '12 at 14:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.