0

I am using the following package in my angular application which is integrated with Okta sign in.

package name: "@microsoft/applicationinsights-web" package is for azure app insights.

I can see that it logs the telemetry along with User's oktaId value under user_AuthenticatedId. see the screenshot.

We need to change our identity provider from Okta to different SecureAuth.

My question is, how does app insights find the user's Okta Id?

enter image description here

E_net4
  • 27,810
  • 13
  • 101
  • 139
user2716454
  • 144
  • 4

1 Answers1

2

The SDK itself doesn't know or set this value, it provides a helper function to allow your application/runtime to set this value.

So as you have a value in this field, something is setting this value. You may also want to check whether the server that is generating the page (using a server side SDK such as C#) may also be populating this value.

https://github.com/microsoft/ApplicationInsights-JS/blob/master/AISKU/API.md#setauthenticatedusercontext

MSNev
  • 21
  • 1