Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codemation/easyauth
Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.
https://github.com/codemation/easyauth
admin-dashboard authentication authorization fastapi gui jwt permissions rbac user-management
Last synced: 5 days ago
JSON representation
Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.
- Host: GitHub
- URL: https://github.com/codemation/easyauth
- Owner: codemation
- License: mit
- Created: 2021-01-24T11:22:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-11T19:11:08.000Z (7 months ago)
- Last Synced: 2025-01-10T00:10:02.785Z (12 days ago)
- Topics: admin-dashboard, authentication, authorization, fastapi, gui, jwt, permissions, rbac, user-management
- Language: Python
- Homepage: https://easyauth.readthedocs.io/en/latest/
- Size: 3.61 MB
- Stars: 567
- Watchers: 11
- Forks: 54
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE.MD
- Security: SECURITY.md
Awesome Lists containing this project
README
![](./images/logo_t.png)
---
Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions to minimize database access requirements of Auth.
[![Documentation Status](https://readthedocs.org/projects/easyauth/badge/?version=latest)](https://easyauth.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/easy-auth.svg)](https://pypi.org/project/easy-auth/)
Documentation
[https://easyauth.readthedocs.io/en/latest/](https://easyauth.readthedocs.io/en/latest/)
## Key Features
- Centralized Auth - Single location for Users & Permissions to share across apps
- Granular Endpoint Security - Verify user identity, and define explicitly who and what each user or groups of users may access
- Admin GUI - easy management of users, permissions, tokens, oauth and more!
- Advanced JWT - Token Based Client authorization with built in invalidation capabilities
- Google Oauth - Easy to configure google login
- Integrated Login & Cookie Management - Users are not just authenticated and authorized, they are re-directed on token expiration to login pages via cookie system and sent back to last location afterwards## Quick Start
```bash
$ virtualenv -p easy-auth-env
$ source easy-auth-env/bin/activate(easy-auth) $ pip install easy-auth[server]
(easy-auth) $ pip install easy-auth[client] # without db
```
## Basic Server
Configure require env variables via a .json
```Bash
$ cat > server_env.json <See 0.0.0.0:8330/docs![](docs/images/api/api.png)
### GUI
![](docs/images/admin_gui.png)
## Client
![](images/client.png)
![](images/OAuth.png)