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

or

poetry add fastbase

Instructions

Fastbase assumes a headless setup using a frontend such as React, Angular, etc.

  • Authentication: Managed by Firebase Auth
  • Authorization: Managed by Fastbase

Process:

  1. Authentication happens in the frontend (JS) using the official Firebase JS package. An idtoken will be generated if successful and attach this to your Authorization header.
  2. Upon reaching the server the idtoken is verified.
  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.3.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastbase-0.3.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file fastbase-0.3.0.tar.gz.

File metadata

  • Download URL: fastbase-0.3.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/5.15.0-89-generic

File hashes

Hashes for fastbase-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0f60d8b083a7ff56b76fc646fc9a4c5dd3eaa533dd9baba35a919ff879f30439
MD5 028742a996d4f890077c8e8d4f7490bc
BLAKE2b-256 099a9a9fc9aecf7348b05575dbe9aa956e5a046bed0d9c3c24fd707b3ce5cd23

See more details on using hashes here.

File details

Details for the file fastbase-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fastbase-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/5.15.0-89-generic

File hashes

Hashes for fastbase-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6dbd627dcf69d6acf632a0b94b1fa63ab4c986cf16944c2218915a130ab66d4
MD5 ee36cd932eb187f097076cd2b0b28ee1
BLAKE2b-256 1a3689df3d3aa5584c33e167e39208c4fa1da0675f97e9f8056cbe4cf079c5a5

See more details on using hashes here.

Supported by

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