Setting up an auth challenge in Perspective and running into some odd behavior.
The code works fine in Firefox, but doesn't work in Chrome, Edge, or Safari. Setting up a "blast all sessions" setup without using the session ID also had the same behavior.
In the all sessions mode you can run it in Firefox and have all the browsers see it, or run it in Chrome, Edge, or Safari and all of the other sessions would update, but not the one you ran it in.
Are there special considerations to be made for Chrome/Edge/Safari compared to Firefox, or is there a different method to handle this?
Calling the message handler outside of the authentication challenge using either a tag change script to call it from the gateway or replacing the code on the button with the code from the auth challenge scropt also works in all browsers, so it appears there is something odd going on with Chrome/Safari/Edge internally when using the Auth Challenge.
Code on a Perspective Button to call the auth challenge:
Auth Challenge code to call a message handler from the gateway:
Session Event Message handler called by the auth challenge:
Finally the message handler on the root container of the view: