fxa/packages/123done
dependabot[bot] 946cb34a1b
chore(deps): bump express from 4.17.2 to 4.17.3
Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.2...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 20:25:51 +00:00
..
ansible
scripts
static fix(test): Update 123Done production urls 2022-12-05 15:54:39 -05:00
.eslintrc.json chore(lint): Fix 123done ESLint config 2022-07-13 10:39:39 -07:00
.nsprc
.prettierignore
Procfile
README.md
config-local-untrusted.json
config-local.json
config-stage-untrusted.json
config-stage.json
config.js
config.json
oauth.js feat(oauth): Add support for `prompt=login` and return the `auth_time` in id token 2022-11-17 13:26:19 -05:00
package.json chore(deps): bump express from 4.17.2 to 4.17.3 2022-12-06 20:25:51 +00:00
pm2.config.js
server.js fix(scope): Add support for 123done to request a scope key 2022-10-05 16:12:20 -04:00
version.js

README.md

A demo of Firefox Accounts OAuth

Running locally

  1. Complete prerequisites for running FxA
  2. Run the server: yarn start
  3. Visit it in your browser: http://localhost:8080/
  4. Hack and reload! (web resources don't require a server restart)

Ansible Deployment

See fxa-dev 123done Ansible configuration for details.

Heroku Deployment

  1. Signup for heroku
  2. Install heroku cli and login
  3. Create heroku app for 123done trusted and untrusted clients
  4. Create a new config for each 123done app
  5. Set heroku app env value CONFIG_123DONE=relative/path/to/config for each app
  6. Add heroku multipack support heroku buildpacks:add -a <app> https://github.com/heroku/heroku-buildpack-multi-procfile
  7. Set heroku app env value PROCFILE=relative/path/to/Procfile/in/your/codebase
  8. Deploy with git push heroku main

Testing

This package does not currently have a test suite.

Run npm test to lint the code.