https://github.com/ateliedocodigo/eve-azure-auth
A python Eve extension to authententicate over Azure AD
https://github.com/ateliedocodigo/eve-azure-auth
azure hacktoberfest python
Last synced: 3 months ago
JSON representation
A python Eve extension to authententicate over Azure AD
- Host: GitHub
- URL: https://github.com/ateliedocodigo/eve-azure-auth
- Owner: ateliedocodigo
- Created: 2020-07-03T15:58:08.000Z (almost 5 years ago)
- Default Branch: develop
- Last Pushed: 2022-11-25T14:11:05.000Z (over 2 years ago)
- Last Synced: 2025-01-10T23:43:02.234Z (5 months ago)
- Topics: azure, hacktoberfest, python
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Eve Azure AD Auth
> Under development, it only validate token. Pull requests are welcome
## Read more
https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc
## Usage
```bash
pip install Eve-Azure-Auth
```## Setting up configuration
```python
AZURE_AD_TENANT = 'common' # optional
AZURE_AD_ISSUER = 'https://login.microsoftonline.com/...'
AZURE_AD_AUDIENCES = 'id' # or ['id', 'id']
```## Initialization
```python
from eve_azure_ad_auth import AzureAuthapp = Eve(auth=AzureAuth)
```*Voilà!*