Library to simplify adding Auth0 support to FastAPI
Project description
Wildflower FastAPI/Auth0 integration
Basic token verification for FastAPI and Auth0. Also includes support for the Wildflower Permissions API, which provides centralized Role/Domain based access control.
Environment Configuration
AUTH0_DOMAIN Domain to auth against within Auth0
API_AUDIENCE Audience the tokens should target
CLIENT_ID Client ID for machine-to-machine authenticatio for checking user Profiles
CLIENT_SECRET Client Secret for machine-to-machine authenticatio for checking user Profiles
For permissions-api integration (optional)
TOKEN_EMAIL_DOMAIN Domain to add to client_credentials for email address for wf_permissions integration
TOKEN_DOMAIN Domain to add to client_credentials for wf_permissions integration
PERMS_API_URI URI for permissions API
PERMS_API_AUD Audience to auth against with machine-to-machine tokens
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
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 wf_fastapi_auth0-1.0.5.tar.gz.
File metadata
- Download URL: wf_fastapi_auth0-1.0.5.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.12 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
980a6ad1bb9bdbc5111c720f7954bf9c0e392f5c64bbb9de095e039db5ac6f1c
|
|
| MD5 |
8e7c0587c76ccc0a532672a3b8e650b4
|
|
| BLAKE2b-256 |
2d08ec3b4cf7a2d6c5b8cd774327762a935c04e1f18b02ceb573ad4fe8ce0912
|
File details
Details for the file wf_fastapi_auth0-1.0.5-py3-none-any.whl.
File metadata
- Download URL: wf_fastapi_auth0-1.0.5-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.8.12 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
941b46069d7e59f29bf0161d205efb994923af71272807788281d553c6fcd38e
|
|
| MD5 |
b734805ada99a01a419e4ed6f16ca872
|
|
| BLAKE2b-256 |
e341e51f21fb56f746edf22bd5c17c3c2e7ab6f4a2da3e7a6b34a91b0daa9aed
|