2013-05-14 01:42:49 +04:00
|
|
|
picl-idp
|
|
|
|
========
|
|
|
|
|
|
|
|
An Identity Provider for Profile In the CLoud
|
2013-05-14 04:09:54 +04:00
|
|
|
|
2013-06-18 02:18:57 +04:00
|
|
|
Protocol notes: https://id.etherpad.mozilla.org/picl-idp-protocol
|
|
|
|
|
2013-05-14 04:09:54 +04:00
|
|
|
## Install
|
|
|
|
|
|
|
|
You'll need node 0.10.x or higher and npm to run the server.
|
|
|
|
|
|
|
|
Clone the git repository and install dependencies:
|
|
|
|
|
2013-05-17 04:13:01 +04:00
|
|
|
git clone git://github.com/mozilla/picl-idp.git
|
2013-05-14 04:09:54 +04:00
|
|
|
cd picl-idp
|
|
|
|
npm install
|
2013-05-17 04:13:01 +04:00
|
|
|
node ./scripts/gen_keys.js
|
2013-05-14 04:09:54 +04:00
|
|
|
|
|
|
|
To start the server, run:
|
|
|
|
|
|
|
|
npm start
|
|
|
|
|
|
|
|
It doesn't do much of anything, yet.
|
|
|
|
|
|
|
|
## Testing
|
|
|
|
|
|
|
|
Run tests with:
|
|
|
|
|
|
|
|
npm test
|
|
|
|
|
2013-07-10 04:27:18 +04:00
|
|
|
## Server API
|
|
|
|
|
|
|
|
[API reference](/docs/api.md)
|
|
|
|
|
|
|
|
## Reference Client
|
|
|
|
|
|
|
|
A node library that implements the client side of the protocol and an example
|
|
|
|
script is located in the `/client` directory.
|
|
|
|
|
|
|
|
[/client/index.js](/client/index.js)
|
|
|
|
[/client/example.js](/client/example.js)
|
2013-05-14 04:09:54 +04:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MPL 2.0
|