You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
Inorder to work with EventHubs, aadEventHubsAudience needs to be imported from @azure/amqp-common[for authentication through msrestAzure].
[EventHubs Sample] aadEventHubsAudience = "https://eventhubs.azure.net/";
Just like the EventHubs, ServiceBus requires aadServiceBusAudience = "https://servicebus.azure.net/"; [for authentication through msrestAzure].
Just like the aadEventHubsAudience, amqp-common should provide aadServiceBusAudience.
Summary
export const aadServiceBusAudience = "https://servicebus.azure.net/";
Add the above line to amqp-common-js/lib/util/constants.ts
aadEventHubsAudience
amqp-common-js/lib/util/constants.ts
Line 35 in c365c92
authorization token audience
aadEventHubsAudience
needs to be imported from@azure/amqp-common
[for authentication throughmsrestAzure
].[EventHubs Sample]
aadEventHubsAudience = "https://eventhubs.azure.net/";
aadServiceBusAudience = "https://servicebus.azure.net/";
[for authentication throughmsrestAzure
].aadEventHubsAudience
, amqp-common should provideaadServiceBusAudience
.Summary
export const aadServiceBusAudience = "https://servicebus.azure.net/";
Add the above line to
amqp-common-js/lib/util/constants.ts
More info
Azure/azure-sdk-for-js#1202 (comment)
The text was updated successfully, but these errors were encountered: