This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Adriano Raiano
committed
Mar 16, 2012
1 parent
b19ff5f
commit d6aebdc
Showing
4 changed files
with
81 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,11 @@ The project goal is to provide simple SSO in node.js. | |
|
||
## Getting started | ||
|
||
1. Clone the project: | ||
1. get nodeSSO: | ||
|
||
npm install nodeSSO | ||
|
||
or | ||
|
||
`git clone [email protected]:adrai/nodeSSO.git` | ||
|
||
|
@@ -22,7 +26,8 @@ Using nodeSSO comes very easy to use with everyauth and express. | |
|
||
1. Create a sso juggler | ||
|
||
var ssoJuggler = require('./nodeSSO/lib/ssoJuggler').createSSOJuggler({ | ||
var SsoJuggler = require('nodeSSO'); | ||
var ssoJuggler = new SsoJuggler({ | ||
authenticationPath: '/auth/openid?openid_identifier=https://www.google.com/accounts/o8/id' | ||
}); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
{ | ||
"author": "adrai" | ||
"author": "adrai" | ||
, "name": "nodeSSO" | ||
, "version": "0.0.1" | ||
, "private": false | ||
, "main": "index.js" | ||
, "repository": { | ||
"type": "git" | ||
, "url": "[email protected]:adrai/nodeSSO.git" | ||
} | ||
, "keywords": ["sso", "login", "web", "session", "cookie", "user"] | ||
, "main": "./index.js" | ||
, "directories": { | ||
"lib": "./lib" | ||
} | ||
, "engines": { | ||
"node": "~v0.4.12" | ||
"node": ">= v0.4.0" | ||
} | ||
, "dependencies": { | ||
} | ||
} | ||
, "devDependencies": { | ||
"express": ">=0.0.1" | ||
, "everyauth": ">=0.0.1" | ||
} | ||
, "scripts": { | ||
} | ||
, "scripts" : { | ||
} | ||
} |