I think you have to pass the request from the session script via message handler to the perspective side before it gets the perspective context to be able to call it?
David, thanks for the reply. Can you show me the steps for making this work? I thought that a Perspective Startup script would already be on the Perspective side. Do I have the authenticationChallenge in the wrong place?
Yes. Anything in Perspective that does navigation or opens/closes popups needs to run in page scope, not just session scope. Consider running this in a global docked view.
Perhaps I am not understanding. The Session Startup Script is not doing navigation or opening/closing popups. It is trying to force authentication every time a user starts a Perspective session, even if they are logged in on another session. Do I need to move this to a View onStatup script for the designated home page instead?
Authentication counts as navigation because the browser has to navigate to the IdP. So yes, move it to a view startup or related event. (Docks are good choices because they don't come and go.)