How to authenticate user in PI Vision in PI Web API automatically when using custom symbol

Hello everyone!

I am using a Custom symbol in PI Vision. For this symbol I am still using PI Web API. Some users are facing the following problem: when they log in to the browser, the Vision screen opens, but the symbol does not work. When the same user opens the browser to an incognito tab, they are asked again to enter their credentials. And in this way the symbol starts to work. Only in the anonymous tab. It seems like a user authentication issue, but as it is the same user and Vision should use the logged in user on the screen, I don't know what could be causing this scenario.

 

PI Vision 3.6.1.0 

 

Parents
  • Calling the PI Web API from PI Vision (assuming you do not set any authentication headers) will cause the request to attempt to be authenticated using Windows Authentication. If you're prompted for credentials when you visit PI Vision or the PI Web API, then it would sound like your Kerberos delegation is not properly setup (either SPN, delegation, or service account delegation parameter). It also matters whether you have 1 service account for both applications, or one for each (ie 2 total).

     

    But first, I would want to know if you have to enter credentials for either application, without using private mode.

Reply
  • Calling the PI Web API from PI Vision (assuming you do not set any authentication headers) will cause the request to attempt to be authenticated using Windows Authentication. If you're prompted for credentials when you visit PI Vision or the PI Web API, then it would sound like your Kerberos delegation is not properly setup (either SPN, delegation, or service account delegation parameter). It also matters whether you have 1 service account for both applications, or one for each (ie 2 total).

     

    But first, I would want to know if you have to enter credentials for either application, without using private mode.

Children
No Data