Using SSO logon tickets in SAPUI5

SAPSAP UI5

When your proxy has SSO token, you should use SET-COOKIE header to pass SSO token to the client.

Example

set-cookie: MYSAPSSO2=DFOKJLDM.....AJLBhHcvA%3d%3e; path=/; domain=xxxxx.sap.com

It should be passed to client browser from proxy and domain name has to be changed to the proxy as shown below:

set-cookie: MYSAPSSO2=DFOKJLDM.....AJLBhHcvA%3d%3e; path=/; domain=PROXYDOMAIN.com

When next time your browser calls to the proxy, this will include session cookie in the request header like below. The proxy will read that Cookie from HTTP request header to make calls.

Cookie: MYSAPSSO2=DFOKJLDM.....AJLBhHcvA%3d%3e;
raja
Published on 27-Dec-2017 13:01:45
Advertisements