No project description provided
Project description
Fastbase
Role-based Access Contral (RBAC) via Firebase idtoken
authententication using FastAPI and SQLModel.
Installation
pip install fastbase/home/enchance/Dev/venv/fastbase-_XKMLCSM-py3.11/bin/python
``
or
```bash
poetry add fastbase
Instructions
Fastbase assumes a headless setup using a frontend such as React, Angular, etc.
Firebase Auth
: Authentication.Fastbase
: Authorization.
Process:
- Actual authentication happens in the frontend (JS) after which an
idtoken
is recieved. - The
idtoken
is sent to the server for authorization purposes. - At first use using the
/signin
endpoint Fastbase checks if the user alread exists in the database. If user is new then a record is created using SQLModel.
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
fastbase-0.2.0.tar.gz
(6.2 kB
view hashes)