Comments (3)
The iKey is not secure, and you don't even have to go the extreme of seeing the payload in the Network tab, as part of initializing the SDK your Javascript code or the initial page will and MUST include it.
There is a nice long thread on this here microsoft/ApplicationInsights-JS#281, but the short answer is that there is no way to secure this value and it is not considered to be a secret.
from applicationinsights-react-js.
@MSNev just be clear you won´t support Azure AD authentication for Application Insights where you add the login credentials to the appInsights.defaultClient as described here in the future:
https://learn.microsoft.com/en-us/azure/azure-monitor/app/azure-ad-authentication?tabs=nodejs#ingestion-http-errors
Or is this only related to backend clients ?
from applicationinsights-react-js.
Correct, we currently have no active plans to implement this from the client side, and yes this is currently designed for "server" (backend) systems ingestion where the keys can be more tightly controlled.
While conceptually it would seem that having "user" AAD credentials passed down would work there would be no way to send any telemetry "until" the user has authenticated, or to securely have any "standard" authentication available from the clients.
from applicationinsights-react-js.
Related Issues (20)
- Custom page view names for SPAs HOT 1
- AppInsightsErrorBoundary: Add custom property HOT 3
- [BUG] AppInsightsErrorBoundary doesn't handle errors from the children components in React 18 HOT 2
- [BUG] ReactPlugin becomes undefined after certain amount of time HOT 2
- Is any version compatible with react 15? HOT 2
- Does useTrackEvent trigger re-render? HOT 6
- [BUG] Events shown twice in App Insights HOT 3
- [BUG] 'AppInsightsErrorBoundary' cannot be used as a JSX component. HOT 4
- [BUG] Type 'ReactPlugin' is not assignable to type 'ITelemetryPlugin' HOT 64
- Tracking api call HOT 2
- ApplicationInsights-JS v3 Compatibility HOT 1
- Uncaught TypeError: Cannot redefine property: pathname when calling appInsights.loadAppInsights(); HOT 8
- [Documentation] Include common react usecases. HOT 1
- Cross-site cookies blocking impact HOT 1
- useTrackEvents skipFirstRun not working properly in React strict mode HOT 2
- [BUG] v17.0.0 Fails to compile with yarn pnp HOT 5
- AppInsightsErrorBoundary: option to clear hasError (e.g. when using browser back) HOT 10
- [BUG] applicationinsights-web is leaking memory in NextJS SSR HOT 16
- [BUG] Sample App - link update HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applicationinsights-react-js.