diff --git a/content/en/docs/marketplace/platform-supported-content/modules/fds-gateway-login-connector.md b/content/en/docs/marketplace/platform-supported-content/modules/fds-gateway-login-connector.md index 4b5d58bba51..4f252c747f6 100644 --- a/content/en/docs/marketplace/platform-supported-content/modules/fds-gateway-login-connector.md +++ b/content/en/docs/marketplace/platform-supported-content/modules/fds-gateway-login-connector.md @@ -89,41 +89,38 @@ For more information, see [Constants](/refguide/constants/). ### Configuring the SSO Redirect {#sso} -To enable SSO, create a `sso-login.html` file in `/theme/web/public` with the following content: +To enable SSO, create a `sso-login.html` file in `/theme/web` with the following content: ```html - -    FDS Gateway Login Connector -     + FDS Gateway Login Connector + - - ``` -Update the `originURI` cookie value in `index.html` and use `/sso-login.html` instead of `/login.html` as shown in the code below: +Update the ` + const url = new URL(window.location.href); + const subPath = url.pathname.substring(0, url.pathname.lastIndexOf("/")); + document.cookie = `originURI=${subPath}/sso-login.html${window.location.protocol === "https:" ? ";SameSite=None;Secure" : ""}`; + ``` ### Custom User Provisioning