on 12-22-2022 1:40 AM
Hi All,
I want to auto logout from the launchpad using sapui5 application. If the idle time reached 5mins after that launchpad should logout automatically using SAPUI5 application. I have tried to call the logout page but I'm getting 404 not found error. I have attached the screenshot and code for your reference. Please advise me on this issue. cflogoutissue.png
xs-app.json file<br>{
"welcomeFile": "/index.html", "authenticationMethod": "route", "logout": { "logoutEndpoint": "/do/logout" }, "routes": [ {
Controller.js<br><br> // Interval Function Start
fnInterval: function () { var that = this; timer = setInterval(function () { that.onLogout(); }, 60000); // }, 300000); }, onLogout: function () { var that = this; sap.m.URLHelper.redirect("do/logout", false); console.log("Auto Logout /do/logout"); },
Hello DURAI VENKATESH,
Please refer below SAP Blog. Might be it's helps to you.
https://blogs.sap.com/2019/08/12/sapui5-applications-with-approuter-sessions-and-automatic-logout/
https://userapps.support.sap.com/sap/support/knowledge/en/2320068
Please confirm if it's works for you.
Regards,
Neeraj Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.