ieunea1128 opened a new issue, #60748:
URL: https://github.com/apache/airflow/issues/60748

   ### What do you see as an issue?
   
   The 
[`webserver-authentication.rst`](https://github.com/apache/airflow/blob/main/providers/fab/docs/auth-manager/webserver-authentication.rst)
 documentation currently shows basic authentication and some OAuth provider 
examples, but **does not include a practical example for Azure Active Directory 
(Azure AD)** that demonstrates how to configure Azure AD OAuth in 
`webserver_config.py`, extract roles/groups from the token, and map them to 
Airflow RBAC roles.  
   While the SSO docs include a generic Azure AD provider example, they do not 
cover end-to-end usage with the webserver authentication manager.
   
   ### Solving the problem
   
   Add an **advanced example section** in `webserver-authentication.rst` 
showing:
   
   * Azure AD OAuth provider config in `webserver_config.py`
   * Custom security manager subclass to parse Azure AD token claims
   * Example role/group to Airflow role mapping (`AUTH_ROLES_MAPPING`)
   
   This would help users using Azure AD for authentication and role mapping in 
real deployments.
   
   
   ### Anything else
   
   I opened the previous issue from the wrong account and have reposted it from 
the correct one. Thank you for your understanding!
   https://github.com/apache/airflow/issues/60747
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to