Solved

401 (Unauthorized) - GET $eager=profile_picture

  • 15 July 2022
  • 1 reply
  • 53 views

Userlevel 4
Badge +11

When opening the Universal GUI login page, DevTools gives a 401 (Unauthorised) error. After logging in with a user with a picture uploaded in IAM the error is shown again. 
 

GET https://office.niverplast.com/indicium/iam/iam/i_ui_usr?$eager=profile_picture
401 (Unauthorized)
  • 401 - unauthorized. The user is not logged in to Indicium (anymore). Note that the login page will execute i_ui_user before login to validate whether the user has logged in or not. This may cause a 401 error on purpose if not.
Once logged in, the profile picture is displayed correctly.

Isn't this GET request an attempt to read the IAM profile picture? Isn't it unnecessary that the request is fired at the login screen? 

icon

Best answer by Mark Jongeling 8 August 2022, 10:31

View original

This topic has been closed for comments

1 reply

Userlevel 7
Badge +23

Hi Dennis,

I've checked with the team and this is intended behavior of the Universal GUI. 

This is the request to check if you are signed in or not. During the log-in process, it will perform an extra check to see if you didn't sign-in in the meanwhile. So no need to worry 😄