INACTIVE - A CAS-based Single-Sign-On service provider for Mozilla web apps.
Перейти к файлу
Austin King 7d0560a3a0 Merge branch 'master' of github.com:mozilla/secret-squirrel 2010-11-24 15:59:33 -08:00
apps Bug#608075 Adding attributes support to CAS 2 2010-11-24 15:58:47 -08:00
bin Automatic update script for staging. 2010-11-09 13:54:17 -08:00
examples/example-php-cas-client markdown cosmetics 2010-08-24 14:53:49 +02:00
media Changed URLs and added menu links 2010-04-21 15:46:50 +02:00
requirements Django update 2010-10-12 12:22:35 +02:00
templates Adding feedback from wenzel from Bug#583797. Code in apps/users, messages in base.html template 2010-08-11 10:00:24 -07:00
wsgi Replaced wsgi entry point with the one Input uses, as this is known to work. 2010-11-23 08:17:28 -08:00
.gitignore ignore vendor dir 2010-10-12 11:58:57 +02:00
README.md markdown cosmetics 2010-08-24 14:53:49 +02:00
__init__.py initial commit: empty django app 2010-04-09 17:09:58 +02:00
log_settings.py some logging, associate sites with users on first login 2010-05-05 11:31:41 +02:00
manage.py Updated manage.py script to use vendor repository properly. Bug 610512 comment 4. 2010-11-17 11:57:57 -08:00
settings.py We don't do SQLite, so we don't need to mention it everywhere. 2010-11-22 10:49:30 -08:00
settings_local.py-dist Mark all cookies HttpOnly unless specifically defined otherwise. Bug 570687. 2010-08-09 16:04:01 +02:00
urls.py Removing accidental deki url check-in 2010-09-10 11:26:29 -07:00

README.md

Secret Squirrel

Secret Squirrel is a Django-based Single Sign-on server. It uses CAS (version 1) as the client-side protocol and can be used with any CAS client library.

Secret Squirrel is a Mozilla project and published under a BSD license.

Getting Started

Python

You need Python 2.6. Also, you probably want to run this application in a virtualenv environment.

Run easy_install pip followed by pip install -r requirements/prod.txt to install the required Python libraries.

Django

The Internet has plenty of of documentation on setting up a Django application with any web server. If you need a wsgi entry point, you can find one in wsgi/squirrel.wsgi.

Whitelist

For each website which you want to SSO enable, you'll need to add them to the whitelist.

  1. http://localhost:8001/admin

    Login with admin user

  2. Client Sites > Click Add

    Note: Don't confuse Sites (i.e., the Django Sites framework) with "Client Sites" (i.e., the SSO Whitelist)... They have very similar inputs and similar names.

  1. Enter Details

    Example: Name: PHP Example App Domain: phpclient.secretsquirr.el Match priority: 0

    Click Save