------------------
Microsoft Azure login handler for [Flower](https://flower.readthedocs.io/en/latest/)
Flower provides internal support for Google and GitHub OAuth authentication, this package enable
similar functionality for [Microsoft Azure](https://portal.azure.com/)
## Quick start
pip install flower-oauth-azure
Azure OAuth 2.0 authentication is enabled using the `--auth`, `--oauth2_key`, `--oauth2_secret` and `--oauth2_redirect_uri` options,
to set the Azure tenant `FLOWER_OAUTH2_TENANT` environment variable must be set.
`--auth` is a regular expression, for granting access only to the specified email pattern.
`–-oauth2_key` and `–-oauth2_secret` are your credentials from your Azure Account.
`–-oauth2_redirect_uri` is there to specify what is the redirect_uri associated to you key and secret
For instance, if you want to grant access to me@saxix.onmicrosoft.com and you@saxix.onmicrosoft.com:
$ export FLOWER_OAUTH2_TENANT=saxix.onmicrosoft.com
$ celery flower --auth_provider=flower_oauth_azure.tenant.AzureTenantLoginHandler \
--auth="me@saxix.onmicrosoft.com|you@saxix.onmicrosoft.com" \
--oauth2_key=... \
--oauth2_secret=...
--oauth2_redirect_uri=http://flower.example.com/login
Alternatively you can set environment variables instead of command line arguments:
$ export FLOWER_OAUTH2_KEY=...
$ export FLOWER_OAUTH2_SECRET=...
$ export FLOWER_OAUTH2_TENANT=saxix.onmicrosoft.com
$ export FLOWER_AUTH=.*@saxix\.onmicrosoft\.com
$ export FLOWER_AUTH_PROVIDER=flower_oauth_azure.tenant.AzureTenantLoginHandler
$ export FLOWER_OAUTH2_REDIRECT_URI=http://flower.example.com/login
$ celery flower
Metadata
Release files for flower-oauth-azure 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flower-oauth-azure-1.0.tar.gz | 4.4 kB | Without provenance | Details for flower-oauth-azure-1.0.tar.gz |
Release files / flower-oauth-azure-1.0.tar.gz
| Download URL | flower-oauth-azure-1.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aabd7de6eb7fa678e31636d6d20b81ef5c42289d93da38365bd0128a8c70f94a
|
|
BLAKE2b-256 checksum How to use checksums |
7b1124ff871ff4852661f162d01e00fc294da2113de7c5db527eb804873d4e24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.6.3
|
Security for flower-oauth-azure 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.