Skip to Content

Custom Fiori Client - set Cookie for SSO

Dec 02, 2016 at 11:05 PM


avatar image
Former Member

Hi Experts,

I am working on a Custom Fiori Client for setting SSO withour TC70 Android Device Launcher.

The launcher is giving us a corporate cookie which needs to be passed to the Fiori Launchpad URL.

I have added the below Android /Java code in the but the cookie is not set.

The same is working on non-Fiori Client , Cordova App.

Please let me know if I am doing anything wrong. Is there any standard way to set the Cookie to the the Fiori Launchpad in the Fiori Client (Cordova)?

public class MainActivity extends CordovaActivity
    public void onCreate(Bundle savedInstanceState)


/* Initialize CookieManager */
CookieManager cm = CookieManager.getInstance();      

String cookieString = "CORPSSO="+ deviceUserData.getMyCorpToken() + ";; path=/";

/*set cookie to the URL */
cm.setCookie(launchUrl, cookieString); 



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers