Mirror of goauthentik/authentik@github.com - Open-source identity platform
Go to file
Jens Langhammer c6d8bae147 e2e: generate dex config dynamically 2020-07-09 23:15:22 +02:00
.github new release: 0.9.0-pre7 2020-07-07 22:34:44 +02:00
docker docker: fix import order on wait_for_db 2020-05-16 22:56:14 +02:00
docs docs: update screenshots 2020-07-09 00:26:18 +02:00
e2e e2e: generate dex config dynamically 2020-07-09 23:15:22 +02:00
gatekeeper gatekeeper: update upstream docker image 2020-06-09 09:26:03 +02:00
helm root: fix /favicon being routed to application server 2020-07-08 13:18:08 +02:00
passbook e2e: generate dex config dynamically 2020-07-09 23:15:22 +02:00
scripts Merge branch 'master' into azure-pipelines 2020-07-03 09:33:04 +02:00
.bumpversion.cfg new release: 0.9.0-pre7 2020-07-07 22:34:44 +02:00
.coveragerc
.dockerignore
.editorconfig
.fossa.yml
.gitignore e2e: Add denied tests for oauth and oidc provider 2020-07-02 21:55:02 +02:00
.isort.cfg
.prospector.yaml root: fix pylint not correctly ignoring migrations 2020-05-27 11:15:10 +02:00
.pylintrc root: fix pylint not correctly ignoring migrations 2020-05-27 11:15:10 +02:00
Dockerfile
LICENSE
Pipfile root: remove psutil as we have external monitoring for CPU 2020-07-07 18:24:24 +02:00
Pipfile.lock build(deps): bump boto3 from 1.14.18 to 1.14.19 2020-07-09 05:19:44 +00:00
README.md polices: add helper to remove None-value keys from dict for policies 2020-07-08 23:07:16 +02:00
SECURITY.md root: update readme 2020-05-27 17:26:35 +02:00
azure-pipelines.yml ci: fix gatekeeper dockerfile path 2020-07-07 18:48:24 +02:00
docker-compose.yml root: fix /favicon being routed to application server 2020-07-08 13:18:08 +02:00
docker.env.yml e2e: add apply_default_data to load data from migrations after tables have been truncated 2020-06-07 19:31:16 +02:00
manage.py e2e: add OIDC Provider test against grafana, more formatting, minor bug fixes 2020-06-19 19:45:27 +02:00
mkdocs.yml *: make email naming consistent 2020-06-18 19:35:59 +02:00
pyproject.toml WIP Use Flows for Sources and Providers (#32) 2020-06-07 16:35:08 +02:00
pyrightconfig.json
setup.cfg
static.Dockerfile
swagger.yaml sources/saml: Add NameID Policy field, sent with AuthnRequest 2020-07-08 16:18:09 +02:00

README.md

passbook logopassbook

CI Build status Tests Code Coverage Docker pulls Docker pulls (gatekeeper) Latest version LGTM Grade

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