From: Manoop Talasila Date: Fri, 6 Apr 2018 14:52:41 +0000 (-0400) Subject: Changing the cookie domain documentation X-Git-Tag: v2.2.0~16 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=portal.git;a=commitdiff_plain;h=322bf26b313ef40291f7e58204c2d52f49ae0b11 Changing the cookie domain documentation Issue-ID: PORTAL-147 Change-Id: I287556751b78f35f01027ee294231629368c5511 Signed-off-by: Manoop Talasila --- diff --git a/docs/tutorials/portal-sdk/single-signon.rst b/docs/tutorials/portal-sdk/single-signon.rst index fb490a77..c5018cff 100644 --- a/docs/tutorials/portal-sdk/single-signon.rst +++ b/docs/tutorials/portal-sdk/single-signon.rst @@ -46,3 +46,32 @@ the applications on-boarded to it. However, if the application is not interested in single signon feature, then the new application can be always be on-boarded as a “Hyperlink only application” which will be opened into a new browser rather than the internal Portal’s tab. + +Changing the cookie domain +-------------------------- + +Changing the single-sign on cookie domain in portal requires both development and config activity: + + +development - change this file and rebuild the front-end +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +:: + + ./ecomp-portal-FE-os/client/configurations/integ.json:102: "cookieDomain": "onap.org" + + +configuration - change this deployment entry +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +:: + + ./deliveries/properties_simpledemo/ONAPPORTAL/system.properties:104:ext_central_access_user_domain = @csp.onap.org + + +Apps that are built on the EP-SDK have an entry in a config file that must be changed +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +:: + + ./deliveries/properties_simpledemo/ONAPPORTALSDK/system.properties:67:cookie_domain = onap.org \ No newline at end of file