Personal authorization server implementing the IndieAuth federated login protocol.
Go to file
Nils Norman Haukås 8842935e07 🔥 remove outdated badge. Add no-github badge 2024-01-22 14:48:51 +01:00
public ensure that scope parameter is passed along. List them out nicely on the authorize page. 2018-07-20 11:11:57 +02:00
src Bugfix: Scope that is "" should result in empty array 2018-07-25 19:00:50 +02:00
views ensure that scope parameter is passed along. List them out nicely on the authorize page. 2018-07-20 11:11:57 +02:00
.env-example update readme and .env-example 2018-07-20 11:24:31 +02:00
.gitignore ignore favicon.ico 2018-07-13 19:42:54 +02:00
.travis.yml bugfix travis 2018-07-17 00:15:34 +02:00
license.md initial commit 2018-07-10 00:20:15 +02:00
package-lock.json upgrade dependencies 2020-01-26 17:34:05 +01:00
package.json upgrade dependencies 2020-01-26 17:34:05 +01:00
prettier.config.js add prettier config for consistency 2019-04-17 10:46:28 +02:00
readme.md 🔥 remove outdated badge. Add no-github badge 2024-01-22 14:48:51 +01:00
server.js explain why we avoid iframing 2019-04-17 10:48:28 +02:00

readme.md

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.