Azure / reddog-code

Source code repository for the reddog demo, brought to you by the Cloud Native Global Black Belt Team.
MIT License
164 stars 106 forks source link

Hardcoded maps subscriptionKey results in 401 and no map is shown for branch locations #52

Open clarenceb opened 2 years ago

clarenceb commented 2 years ago

Hardcoded subscriptionKey in Maps.vue results in HTTP 401 not authorized and the map is not shown for branch locations.

See line https://github.com/Azure/reddog-code/blob/23586096d81077d1223b70d47e9a1cd395fab50c/RedDog.UI/src/pages/Maps.vue#L65

Error seen in browser:

SharedKey realm="https://atlas.microsoft.com/, error="InvalidKey", error_description="The provided key was incorrect or the account resource does not exist."

We need a way to have this subscription key configurable.