cancel
Showing results for 
Search instead for 
Did you mean: 

Logout-SAP UI5 app - cloud foundry - sample code

alagar_pandian
Participant

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.

Accepted Solutions (1)

Accepted Solutions (1)

mariusobert
Developer Advocate
Developer Advocate

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.

Answers (0)