Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Azure Oauth support for Flower

Project description

Flower oAuth Azure

Microsoft Azure login handler for [Flower](

Flower provides internal support for Google and GitHub OAuth authentication, this package enable
similar functionality for [Microsoft Azure](

## 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 and

$ export
$ celery flower --auth_provider=flower_oauth_azure.tenant.AzureTenantLoginHandler \
--auth="|" \
--oauth2_key=... \

Alternatively you can set environment variables instead of command line arguments:

$ export FLOWER_OAUTH2_KEY=...
$ export
$ export FLOWER_AUTH=.*@saxix\.onmicrosoft\.com
$ export FLOWER_AUTH_PROVIDER=flower_oauth_azure.tenant.AzureTenantLoginHandler
$ celery flower

Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flower-oauth-azure, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size flower-oauth-azure-1.0.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page