Skip to main content

Authentication and user management for Starlite

Project description

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:

  1. Clone this repository
  2. cd starlite-users && poetry install
  3. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

starlite_users-0.1.0.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

starlite_users-0.1.0-py3-none-any.whl (18.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page