Mirror of goauthentik/authentik@github.com - Open-source identity platform
Go to file
Jens Langhammer 9882342ed1 Merge branch 'master' into azure-pipelines
# Conflicts:
#	.github/workflows/ci.yml
2020-06-02 20:40:04 +02:00
.github sources/oauth: fix typing errors 2020-06-02 16:57:38 +02:00
docker
docs
gatekeeper
helm
passbook sources/ldap: add option to disable user sync, move connection init to model 2020-06-02 17:15:59 +02:00
scripts ci: migrate unittests and coverage 2020-05-28 19:29:28 +02:00
.bumpversion.cfg
.coveragerc
.dockerignore
.editorconfig
.fossa.yml
.gitignore
.isort.cfg
.prospector.yaml
.pylintrc
Dockerfile
LICENSE
Pipfile
Pipfile.lock build(deps): bump boto3 from 1.13.19 to 1.13.20 (#45) 2020-06-02 09:38:17 +02:00
README.md ci: fix network for static build 2020-05-29 09:43:00 +02:00
SECURITY.md
azure-pipelines.yml ci: set static network for static build 2020-05-29 10:04:23 +02:00
docker-compose.yml
manage.py
mkdocs.yml
pyrightconfig.json
setup.cfg
static.Dockerfile
swagger.yaml sources/ldap: add option to disable user sync, move connection init to model 2020-06-02 17:15:59 +02:00

README.md

passbook

What is passbook?

passbook is an open-source Identity Provider focused on flexibility and versatility. You can use passbook in an existing environment to add support for new protocols. passbook is also a great solution for implementing signup/recovery/etc in your application, so you don't have to deal with it.

Installation

For small/test setups it is recommended to use docker-compose.

wget https://raw.githubusercontent.com/BeryJu/passbook/master/docker-compose.yml
# Optionally enable Error-reporting
# export PASSBOOK_ERROR_REPORTING=true
# Optionally deploy a different version
# export PASSBOOK_TAG=0.8.15-beta
# If this is a productive installation, set a different PostgreSQL Password
# export PG_PASS=$(pwgen 40 1)
docker-compose pull
docker-compose up -d
docker-compose exec server ./manage.py migrate

For bigger setups, there is a Helm Chart in the helm/ directory. This is documented here

Screenshots

Development

To develop on passbook, you need a system with Python 3.7+ (3.8 is recommended). passbook uses pipenv for managing dependencies.

To get started, run

python3 -m pip install pipenv
git clone https://github.com/BeryJu/passbook.git
cd passbook
pipenv shell
pipenv sync -d

Since passbook uses PostgreSQL-specific fields, you also need a local PostgreSQL instance to develop. passbook also uses redis for caching and message queueing. For these databases you can use Postgres.app and Redis.app on macOS or use it the docker-compose file in scripts/docker-compose.yml.

To tell passbook about these databases, create a file in the project root called local.env.yml with the following contents:

debug: true
postgresql:
  user: postgres

log_level: debug
error_reporting: false

Security

See SECURITY.md