Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Service Bus - authorization token audience - aadServiceBusAudience #30

Closed
HarshaNalluru opened this issue Feb 16, 2019 · 2 comments · Fixed by #46
Closed

Service Bus - authorization token audience - aadServiceBusAudience #30

HarshaNalluru opened this issue Feb 16, 2019 · 2 comments · Fixed by #46
Assignees
Labels
Client Issues that refer to the client sdk Service Bus

Comments

@HarshaNalluru
Copy link
Member

HarshaNalluru commented Feb 16, 2019

aadEventHubsAudience


authorization token audience

  • 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

More info
Azure/azure-sdk-for-js#1202 (comment)

@AlexGhiondea
Copy link
Contributor

@HarshaNalluru is this issue about adding a constant string in the constants file?

@HarshaNalluru
Copy link
Member Author

Yes @AlexGhiondea

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client Issues that refer to the client sdk Service Bus
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants