Configuring a unique cookie name for a specific API ML instance
Configuring a unique cookie name for a specific API ML instance
By default, in the API Gateway, the cookie name is apimlAuthenticationToken
.
To prevent overwriting of the default cookie name in the case of multiple Zowe instances, a unique cookie name can be configured for each instance.
Follow this procedure to configure a unique cookie name for the instances:
-
Open the
zowe.yaml
configuration file. -
Find or add the property
components.gateway.apiml.security.auth.uniqueCookie
, and set it totrue
. A unique cookie name is generated asapimlAuthenticationToken.cookieIdentifier
.Example:
If this parameter is set totrue
, and the cookieIdentifier is1
, the name of the cookie transforms toapimlAuthenticationToken.1
.
If this property is not set totrue
, the cookie name remainsapimlAuthenticationToken
by default. -
Restart Zowe.