starlite-users
Authentication, authorization and user management for the Starlite framework
This package is not yet production ready.
Features
- Supports Starlite Session, JWT and JWTCookie auth backends
- SQLAlchemy ORM models (Piccolo and Tortoise on roadmap)
- Pre-configured route handlers for:
- Authentication
- Registration
- Verification
- Password reset
- Administrative user management
- Administrative role management
- Assign/revoke roles to/from users
- Authorization via role based guards
- Define your own administrative roles for user management
Getting started
The package is not yet availabe on PyPi. Right now you can:
- Clone this repository
cd starlite-users && poetry install
poetry run PYTHONPATH=. python examples/main.py
This will start a uvicorn
server running on 127.0.0.1:8000
Visit 127.0.0.1:8000/schema/swagger
for interactive docs