Article Details
Id:18241
Product:finPOWER Connect WS
Type:NEW
Version:3.04.00.28
Opened:28/05/2021
Closed:28/05/2021
Released:01/07/2021
Job: J026681
Breaking Change

Portals; Signing out now always escapes from IFRAME

Portal pages can be displayed in an HTML IFRAME, e.g., the system-supplied Client Connect sample, My Details page, "Recent Activity" button.

If the user's session expires, when not using a custom 401 page (ERROR_401), the built-in page simply displays a "Your Portal session has expired." message.

However, if you have a custom 401 page, you may simply want to provide the user with a sign-in button that takes them to the sign in page. Prior to this change, this button (via the JavaScript portal.SignOut or portal.SignIn methods) would re-load the Portal in the modal's iframe.

NOTE: The reason this is flagged as a "Breaking Change" is that prior to having the Portal Host application, we had (and have just removed from the Web Services, Samples folder) a Portal Iframe sample that demonstrated hosting a Portal in an IFRAME.