anishgirianish commented on PR #60108:
URL: https://github.com/apache/airflow/pull/60108#issuecomment-3787995719

     Hi @ashb, thank you for the feedback on the earlier iteration.
                                                                                
                                                                                
As you suggested, I implemented scope validation using FastAPI's SecurityScopes 
mechanism. The approach uses a single router with JWTBearerBaseDep at the 
router level for basic auth, and scope checks are done at the endpoint/module 
level via JWTBearerDep (execution scope) and JWTBearerWorkloadDep (workload 
scope for /run only).                    
      
   Would really appreciate another look when you get a chance. Happy to make 
any further adjustments based on your feedback. Thanks!


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