Signup, login and profile with the Python SDK (authorizer-py 0.2.0) sync client, plus the admin client listing users.
git clone https://github.com/authorizerdev/authorizer.git
cd authorizer
make dev # http://localhost:8080, admin secret: adminpython -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python main.pyDefaults match make dev; override with AUTHORIZER_URL, CLIENT_ID, ADMIN_SECRET env vars.
- The pip package is
authorizer-py; the import isauthorizer. - The client supports three wire protocols:
graphql(default),rest, andgrpc(AuthorizerClient(..., protocol="grpc"); gRPC needspip install 'authorizer-py[grpc]'). - Async variants exist for both clients:
AsyncAuthorizerClient,AsyncAuthorizerAdminClient. - Admin operations authenticate with the
x-authorizer-admin-secretheader, handled byAuthorizerAdminClient.