Experimental WebRTC IdP build on Firefox Accounts
Перейти к файлу
Ryan Kelly 9ac04b3477
Merge pull request #4 from Mozilla-GitHub-Standards/master
Add Mozilla Code of Conduct
2021-03-12 12:48:48 +11:00
bin Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
config Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
grunttasks Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
lib Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
test Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
.eslintrc Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
.gitignore Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
.travis.yml Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-29 15:00:32 -07:00
CONTRIBUTING.md Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
Gruntfile.js Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
LICENSE Initial commit of skeleton project 2016-07-06 19:19:44 +10:00
README.md Fix formatting of README 2016-07-06 19:27:59 +10:00
package.json Initial commit of skeleton project 2016-07-06 19:19:44 +10:00

README.md

Firefox Accounts WebRTC IdP

This is an experiment in building a WebRTC Identity Provider:

http://w3c.github.io/webrtc-pc/#sec.identity-proxy

on top of the Firefox Accounts OAuth flow:

https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Firefox_Accounts/Introduction#Authenticating_with_Firefox_Accounts

It's a bare-bones expressjs app that doesn't actually do anything much yet.

To get up and running:

npm install
./bin/gen_keys.js
npm test
npm start

To customize the configuration, either use environment variables:

PORT=8080 npm start

Or create a JSON file and load it like this:

cp config/local.json-dist ./config/local.json
vim ./config/local.json
CONFIG_FILES=./config/local.json npm start

License

MPL 2.0