cellar-door/readme.md

1.6 KiB

Cellar door

Please don't upload to GitHub

Login to services using your own website.

Inspired by the IndieWeb movement I wanted to build a well-tested personal authorization server that implements the IndieAuth protocol.

Features:

Deploy your own authorization server

Setup server:

  1. git clone this project.
  2. Run npm install to install dependencies.
  3. Copy and rename .env-example to a file called .env and then fill out the missing configuration.
  4. Run npm start.

Connect web page to authorization server:

  1. Within the <head></head> portion of your personal site's html:
    • Add <link rel="authorization_endpoint" href="https://your-glitch-app.com"> to make authorization endpoint discoverable.
    • Add <link rel="token_endpoint" href="https://your-glitch-app.com/token"> to make token endpoint discoverable.
  2. Test logging into a site, for example indielogin.com.

Development

  1. git clone this project.
  2. Use command npm test to run tests. Or npm test -- --watch to start the tests in watch mode.

License

Project is licensed under AGPL-3.0.