{"repo":"shashstormer/AuthTuna","free":true,"listed":false,"github":"https://github.com/shashstormer/AuthTuna","clone":"git clone https://github.com/shashstormer/AuthTuna.git","description":"This is a plug and play auth library with features enough for all purposes from simple auth to SSO, RBAC and passkeys while the core is framework agnostic it is specialized for fastapi.","language":"Python","stars":134,"topics":["authentication","fastapi","rbac"],"license":"LGPL-3.0","category":"auth-billing-email","readme_excerpt":"AuthTuna 🐟 A modern async security framework for Python (FastAPI-first, framework-agnostic core). Battle-tested, batteries-included authentication, session management, RBAC, SSO, MFA, and much more. Check Documentation at authtuna.shashstorm.in This readme.md is so that LLM's can understand how to use the library instead of hallucinating, but it contains a decent level of docs but the docs site better. License This project is licensed under the GNU LGPL v3 or later. See LICENSE.txt Below is some documentation on getting started. --- Table of Contents 1. Getting Started (Basic Auth & Login) 2. Configuration Options - Required Config Keys - All Config Options - Setting Configuration 3. FastAPI Integration - Dependencies - Permission Checker - Role Checker 4. Managing Permissions - Creating Permissions - Permission Naming 5. Managing Users 6. Creating Roles 7. Batteries Included 8. RBAC Example 9. Advanced Features - SSO (Social Login) - MFA (Multi-Factor Authentication) - Passkeys - API Keys 10. Sample Backend Code 11. Advanced Guide & Patterns 12. Community & Support --- Upgrading To v0.2.0 You may need to run upgrade script if you are not able to access the dashboard as the user dashboard now check the User role instead of get current user which was not present some versions ago and also set TRY FULL INITIALIZE WHEN SYSTEM USER EXISTS AGAIN=True in .env. Getting Started (Basic Auth & Login) 1. Install dependencies: 2. Create a .env file with minimum configs: (See below for h","default_branch":null,"files":null,"tree":[],"storefront":"/r/shashstormer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shashstormer/AuthTuna/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}