

How to log out BTP user logged in SAP Build Apps?
source link: https://answers.sap.com/questions/13886235/how-to-log-out-btp-user-logged-in-sap-build-apps.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to log out BTP user logged in SAP Build Apps?Skip to Content
I used the Open URL flow function and tried this formula, that seemed to work in preview mode (I did not test in a deployed app and I could not get the user back to the IAS login page):
"https://" + SPLIT(REPLACE_ALL(systemVars.initialUrl, "https://", ""),"/")[0] + "/logout"
Of course, I would prefer a dedicated flow function to do this and perhaps I missed this.
Hi Daniel,
I appreciate your response. I followed your solution, and it worked in preview mode. However, when I deployed the application, I encountered an issue. I am unable to return to the IAS login page.
Thank you.
I think the URL to use, and which (almost) works for me is
https://<your custom IDP>.accounts.ondemand.com/saml2/idp/slo
This does in fact log you out of the IDP and require relogin if you go to the accounts page of the IDP. But the SAP Build Apps app still works -- there seems to be some caching that does not clear because if I clear the cache the app then requires login.
You're right. I tried the solution you suggested, and it did log me out of my Identity Provider (IDP). However, the SAP Build Apps app still worked without . I think there might be a way to solve this using the refresh token. I noticed that after leaving the app open for an hour, it automatically refreshed itself and logged me out. But I'm not sure how to make this refresh token thing work :).
Recommend
-
15
Create a Process as Logged-On-User from PowerShell Roger Zander ...
-
19
Logged in User Details In Azure AD App Service Idenifying the Logged-In User in Azure ADLately I have been experimenting with Azure AD and putting Apps behind Azure AD. Once they are behind Azure AD Auth...
-
11
Reporting on user’s last logged in date in Office 365 After a long, long wait, Microsoft is finally addressing one of the most common requests from Office 365/Microsoft 365/Azure AD admins – the ability to easily...
-
12
Get Logged-in User Info in Jakarta EE - The Simplest Way ...
-
16
How to get all the users except current logged in user in Laravel 423 views 5 months ago Laravel While working in L...
-
7
Pankaj Bagul 21 minutes ago how to send logged-in user id from SAP BTP launchpad tile to SAP ABAP application 5...
-
5
ASP.NET Core: Three ways to refresh the claims of a logged-in user An ASP.NET Core application uses claims to hold the logged-in user’s
-
8
krishna sidda October 29, 2022 2 minute read
-
5
krishna sidda October 29, 2022 2 minute read
-
8
How can I find out the last time a user logged on from C++? ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK