Siddharth Bhardwaj
Siddharth Bhardwaj

Reputation: 1

Can we PUT a data to Azure Event Hub using OAuth

Is there a way to send the data to Azure Event Hub via http call using OAuth rather than Generating a SAS token?

Upvotes: 0

Views: 365

Answers (1)

Jesse Squire
Jesse Squire

Reputation: 7745

The Event Hubs REST endpoints support authorization via Azure Active Directory token. Azure Active Directory does offer support for OAuth flows, so I believe this is possible.

To be pedantic, the answer to your question is technically "no" since sending an event via REST is a POST operation, not PUT.

Upvotes: 1

Related Questions