auth_type in HttpSensor #43118
Unanswered
sudarshan2906
asked this question in
General
Replies: 1 comment
-
If it's not there - then likely not - but as usual in Airflow, you can look at the code of Http Operator and implement the same thing in your custom HttpSensor (following the docs) and then even contribute it back to Airflow code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HttpOperator has an option auth_type which enables us to add a custom auth class.
Using this we can use APIs which has OAUTH authentication as mentioned here in this article: https://medium.com/@andrewhharmon/airflow-httpoperator-with-oauth-c5e7c8fa2232
I don't see this option added in HttpSensor, Is it possible to use HttpSensor for APIs which has OAUTH as authentication?
Beta Was this translation helpful? Give feedback.
All reactions