A Python library for OAuth2 authentication across frameworks and providers
Project description
Simplify OAuth2 Authentication
Omni-Authify is a Python library that makes OAuth2 authentication a breeze across multiple frameworks and providers. Its main goal is to give you a unified and easy-to-use interface for adding social logins to your applications.
✨ Features
- 🌍 Multiple Providers: Currently supports Facebook OAuth2 authentication, with more to come.
- 🔧 Framework Integration: Works seamlessly with Django, Django REST Framework (DRF), FastAPI and Flask.
- ⚡ Easy to Use: Requires minimal setup to get started.
- 🚀 Extensible: Designed to support more providers and frameworks as your needs grow.
📚 Table of Contents
🚀 Usage Examples
Follow the example below to quickly integrate Omni-Authify into your application.
from omni_authify.providers import Facebook
# Initialize the provider
facebook_provider = Facebook(
client_id='your-client-id',
client_secret='your-client-secret',
redirect_uri='your-redirect-uri'
)
# Get authorization URL
auth_url = facebook_provider.get_authorization_url(state='your-state')
# After redirect and code exchange
access_token = facebook_provider.get_access_token(code='authorization-code')
# Fetch user profile
user_info = facebook_provider.get_user_profile(access_token, fields='your-fields')
🛠️ Installation Guide
Check out the full installation guide here for detailed instructions on how to add Omni-Authify to your project.
📜 Supported Providers and Frameworks
Omni-Authify currently supports Facebook OAuth2 and integrates smoothly with Django, Django REST Framework (DRF), FastAPI and Flask. For a list of all supported providers and more details, check this page.
🔐 License
This project is licensed under the MIT License. See the LICENSE file for more information.
Omni-Authify is your go-to solution for easy social login integration, whether you're building a simple python project or scaling up with DRF or other frameworks like FastAPI or Flask. Give it a spin and enjoy smooth OAuth2 authentication!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omni-authify-0.1.2.tar.gz.
File metadata
- Download URL: omni-authify-0.1.2.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0639e10959c621194cb9a3c039770fe98885c46639b7e2183ee4f2c218f3b9d2
|
|
| MD5 |
0cf5ef54db22e82e42fc7b4a5000317e
|
|
| BLAKE2b-256 |
cdc9a78a15503e092cea90ad4b413ae49b9ec43fb43748342dec6715e41e24ff
|
File details
Details for the file omni_authify-0.1.2-py3-none-any.whl.
File metadata
- Download URL: omni_authify-0.1.2-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f0902de9b8a67faf55b165868c1c77df023ddb1ceb77a4638fd09292ceeda48
|
|
| MD5 |
d6cd3d3337d060c73dca2783c4d2efcf
|
|
| BLAKE2b-256 |
b2e3bd10aea360321d46fa6c915205000ead7eb725a0eea6dc93433719274242
|