houqp commented on pull request #18670:
URL: https://github.com/apache/airflow/pull/18670#issuecomment-932657196


   Thanks @mik-laj for mentioning our use-cases. We use Okta to manage regular 
users and db to manage service accounts. However, we only use the airflow cli 
to manage these service accounts and don't have the need to create service 
accounts ad-hoc using APIs because we don't create service accounts often. I 
don't think anyone is relying on being able to do this through APIs because FAB 
already disallows this.
   
   BTW, I think 400 is a better code here. 5xx is better suited for unexpected 
internal server errors. In this case, it's more like a user error.


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