jason810496 commented on issue #60897:
URL: https://github.com/apache/airflow/issues/60897#issuecomment-3783941712
> already contains partial support for this:
For the new FastAPI-based AuthManager integration, this does not appear to
be supported. Those parts are only used by the old Flask-based API server.
> However, the FastAPI authentication flow never reaches this logic.
This is correct. IMHO, the appropriate approach is to add
`[fab/auth_role_public]` via Airflow config (so can be accessed via
`conf.get("fab", "auth_role_public")` ) and update the user facing
documentation (replace the description of `AUTH_ROLE_PUBLIC` in
`webserver_config.py` with `[fab/auth_role_public]` config).
https://github.com/apache/airflow/blob/565be341afb01585a3f27069727fd0cf703c956e/providers/fab/provider.yaml#L78
cc @vincbeck wdyt?
--
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]