This blog is for you if you have SAML authentication configured for your Fiori launchpad.
Whenever you leave your Fiori application idle for long time, when you return back you will be welcomed by the below empty pop-up.
What is happening here?
As you might have guessed your session has expired (Logon cookie), and Fiori is trying to present you a logon screen of your identity provider in this popup. As identity provider usually has a different hostname than your Fiori, browser will block this call (due to Same Origin Policy) and what you get is this nice blank screen.
How to get rid of this pop-up?
Luckily SAP provides an option to change this behavior. Check the below self explanatory code from Fiori Launchpad. Unfortunately you have to edit (i.e. modify) the Fiorilaunchpad.html and there is no extensibility option.
I selected the ‘reload’ option and this is what I get now. Upon clicking ‘OK’, it reloads the screen and I automatically get redirected to my identity provider’s login screen.
How to test it?
For testing your configuration, you do not have to wait for hours till the Fiori logon cookie expires again. You just have to delete the cookie, and then scroll through the launchpad so that one of the dynamic tile triggers a count call and discovers that cooke is expired/deleted. So if you do not know how to delete the cookie, here is the tip.
Happy holidays 🙂
Update: SAP has released a related note for this.