ApplicationInsights-JS
ApplicationInsights-JS copied to clipboard
[BUG] Authorization header is not supported by AI service
Description/Screenshot
Request rejected by AI service when I tried to send track request in browser using fetch
with Authorization
header set.
Additional context
AI service actually accepts Authorization
token now: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/api/app-insights-azure-ad-api
I think the AI service should add Authorization
in Access-Control-Allowed-Headers
for be able to send these requests in browser environment.
Authorization is not supported from a browser. I'll forward the request onto the internal team that manages the service.