cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 custom Basic Auth Popup

AbhishekSharma
Active Contributor
0 Kudos

Hi Gurus,

We have a weird requirement to show Basic authentication popup from custom SAPUI5 application when user clicks on specific button.

Points to note:

1- User-1 is already logged in into custom sapui5 application through Fiori Launchpad.

2- When User-1 clicks on "Verification" button, popup should be displayed asking sap user id and password (basic authentication)

3- User-2 will put his/her credentials and once validated successfully that pop will be closed and backend call will be done...

Solution I have followed :

Created standalone sapui5 application and deployed on ABAP system. From SICF node configured application for Basic Authentication.

When I run this application standalone it works fine asking for credentials as there is no other Live session exists. But when I call this (standalone sapui5 application) application on "Verification" button click (point 2 above) it opens in popup but it never ask for credentials because there is already one Live session available.

Need to open above popup from custom SAPUI5 app running from Fiori Launchpad.

Please guide me how can I achieve this scenario ? What should be best way to get this done.

Side Note: Basically 2 users should be able to authenticate from one running application.

Please help.

Thanks-

Abhishek

Accepted Solutions (0)

Answers (0)