viiccwen commented on issue #60897:
URL: https://github.com/apache/airflow/issues/60897#issuecomment-3782679870

   TL;DR: this does appear to be a real bug rather than a misconfiguration 
after reviewing the code paths.
   
   `AUTH_ROLE_PUBLIC` is documented as "enable access without authentication", 
and the FAB auth stack already contains partial support for this:
   
   * `AnonymousUser` can correctly derive roles from `AUTH_ROLE_PUBLIC`
   * `FabAuthManager.is_logged_in()` considers `AUTH_ROLE_PUBLIC` (Flask side)
   
   However, the FastAPI authentication flow never reaches this logic. I'll 
think about how to solve it.
   Thanks for raising bug. : )
   


-- 
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