I tried login in via Azure AD in airflow container. I setting de webserver_config.py
OAUTH_PROVIDERS = [
{
'name':'azure', 'token_key':'access_token', 'icon':'fa-windows',
'remote_app': {
"api_base_url": "https://login.microsoftonline.com/$TENANT_ID",
"request_token_url": None,
'request_token_params': {
'scope': 'openid email profile'
},
"access_token_url": "https://login.microsoftonline.com/$TENANT_ID/oauth2/v2.0/token",
"access_token_params": {
'scope': 'openid email profile'
},
"authorize_url": "https://login.microsoftonline.com/$TENANT_ID/oauth2/v2.0/authorize",
"authorize_params": {
'scope': 'openid email profile'
},
'client_id':'CLIENTE_ID',
'client_secret':'CLIENTE_SECRET'
}
}
]
See logging
Error authorizing OAuth access token: Missing "jwks_uri" in metadata
I found solution, adding authlib 1.0.1 and add