Skip to main content

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:

  1. Actual authentication happens in the frontend (JS) after which an idtoken is recieved.
  2. The idtoken is sent to the server for authorization purposes.
  3. 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)

Uploaded Source

Built Distribution

fastbase-0.2.0-py3-none-any.whl (9.4 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