Skip to content

Installation

Requires Python 3.11+ and a SQL database (PostgreSQL, SQLite, or MySQL).

pip install authfort
pip install authfort
pip install authfort[sqlite]
pip install authfort[sqlite]
pip install authfort[mysql]
pip install authfort[mysql]

The base install includes asyncpg for PostgreSQL. The extras install aiosqlite or aiomysql respectively.

For microservices that need to verify JWTs. No database required.

pip install authfort-service
pip install authfort-service

For browsers and mobile apps. Requires Node.js 18+.

npm install authfort-client
npm install authfort-client