This is a plugin for pretix.
Supports pretix backend auth using Okta
As this is not on PyPI for now, install from git:
pip install git+https://github.com/pretix/pretix-auth-okta.git@main#egg=pretix-auth-okta
First, you nmeed to create a web application in Okta. The redirect URL is https://<pretixserver>/_okta/return
.
Then, you need to tweak your pretix.cfg
file like this:
[pretix] ; add to your existing section auth_backends=pretix_auth_okta.auth.OktaAuthBackend,pretix.base.auth.NativeAuthBackend [pretix_auth_okta] label=My Company SSO client_id=123456 client_secret=5675345 url=https://dev-123456.okta.com/oauth2
- Make sure that you have a working pretix development setup.
- Clone this repository, eg to
local/pretix-auth-okta
. - Activate the virtual environment you use for pretix development.
- Execute
pip install -e .
within this directory to register this application with pretix's plugin registry. - Execute
make
within this directory to compile translations. - Restart your local pretix server. You can now use the plugin from this repository for your events by enabling it in the 'plugins' tab in the settings.
Copyright 2020 pretix Team
Released under the terms of the Apache License 2.0