Skip to content

Configure Azure OATH Authentication #13754

@kovaliovsg

Description

@kovaliovsg

Apache Airflow version: 2.0.0

Kubernetes version (if you are using kubernetes) (use kubectl version): None

Environment: Local PC

  • Cloud provider or hardware configuration: Azure AAD
  • OS (e.g. from /etc/os-release): Linux
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

What happened:

Getting "Invalid Login" message after configuring Azure OAUTH authentication following the instructions on this page:
https://flask-appbuilder.readthedocs.io/en/latest/security.html#authentication-oauth

using their referenced example:

https://github.com/dpgaspar/Flask-AppBuilder/blob/master/examples/oauth/config.py

What you expected to happen:

Expected the user will be able to access Airflow after successful Azure authentication

How to reproduce it:

Configure the authentication using the attached file webserver_config.py replacing the values of the client id, client secret and tenant id with your actual values.
Also attached airflow.cfg and the screenshot of the error message in a zip file.
I run Airflow on my local PC.

Anything else we need to know:

I can successfully authenticate to Azure using my credentials, so the issue does not relate to my username or password.

temp.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions