Skip to content

Impossible to use SSO with EntraID #70023

Description

@gdupont697

Under which category would you file this issue?

Providers

Apache Airflow version

3.3.0

What happened and how to reproduce it?

Hello everyone,
Hope you doing well.

We currently have an issue on setting up SSO with EntraID and airflow using FAB manager.
AADSTS50011: The redirect URI 'http://<airflow.company>.fr/auth/oauth-authorized/azure' specified in the request does not match the redirect URIs configured for the application 'application-id'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

We are using Airflow 3.3.0

Accordingly to the previous issues discussed on github, we tried to do those :
enable_proxy_fix = True
Reviewing our Reverse Proxy configuration.

After those actions, we still have a redirect_uri http only so it cannot match the set up in EntraID ('http://<airflow.company>.fr/auth/oauth-authorized/azure')

Do you know a way to force HTTPS configuration ?

Greetings

What you think should happen instead?

No response

Operating System

No response

Deployment

None

Apache Airflow Provider(s)

fab

Versions of Apache Airflow Providers

apache-airflow-providers-fab : 3.6.5

Official Helm Chart version

Not Applicable

Kubernetes Version

No response

Helm Chart configuration

No response

Docker Image customizations

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions