Hello,
I've used webide to create MTA project with HTML5 repo and added UI5 as a module in it. I would like to know the step by step procedure from here to implement logout functionality with out cache issue. I followed many blogs such as https://blogs.sap.com/2019/08/23/sapui5-sessions-and-logout-fine-grained-control-of-approuter-cachin... for the same but still failing to achieve it.
If anyone could share a sample project with this logout functionality would be of great help to understand the configurations required.
Request clarification before answering.
The default logout functionality of the approuter (and therefore the entire application) can be used with the "logoutEndpoint" configuration: Sample Code
In the application itself, you just need to make a call to this endpoint to trigger the flow.
If you want to have more control over the caching mechanisms, this guide might be able to help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @marisobert, I tried implementing this but I am getting internal server error when I click on logout.
On checking the error logs of the app, I see the error as:
GET request to /74cf1c07-1827-49d2-9bc9-90ba4d9f6781.capleavemanagementappservice.leavemanagement-1.0.0/my/logout completed with status 500 request method (GET) does not match logout configuration logoutMethod (POST)
I am using managed approuter, SAP Build Work Zone standard edition.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.