Skip to content

Commit c9631de

Browse files
authored
Merge pull request #53 from abap2UI5/claude/add-logout-guide-BCHzi
Remove Custom JavaScript lever from logout guide
2 parents bb38c93 + a395d7a commit c9631de

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

docs/advanced/logout.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ The event terminates whichever layers the current startup context owns:
4747
| BSP URL || redirect to `/sap/public/bc/icf/logoff` | hidden iframe to `?sap-sessioncmd=logoff` first |
4848

4949
### Customization
50-
There are four ways to influence what happens on logout. Pick the one that matches your goal.
50+
There are three ways to influence what happens on logout. Pick the one that matches your goal.
5151

5252
#### Custom Post-Logoff URL
5353
Pass any same-origin URL as `t_arg`. The browser navigates there once the SAP sessions are ended (see the second example in [The Logout Event](#the-logout-event)). Useful when you want a specific landing page — for instance, the standard BSP logoff confirmation page — without changing any system settings.
5454

55+
5556
::: warning
5657
The URL must be same-origin. Cross-origin redirects are rejected.
5758
:::
@@ -71,9 +72,6 @@ This is a Basis task. If "I logged out and came right back into the launchpad" i
7172
#### Run Inside the Fiori Launchpad
7273
If the goal is the cleanest user experience — going through `Container.logout()` and the FLP's own logoff flow — launch the app as an FLP tile, not from a BSP or handler URL. There is no shell to log out from on a non-FLP URL.
7374

74-
#### Custom JavaScript
75-
For anything the four levers above don't cover (extra `fetch` calls, an Identity Provider single-logout call, post-logoff messaging), override the JavaScript handler in [Custom JS](/advanced/extensibility/custom_js).
76-
7775
### Single Sign-On
7876
On any system with SSO (SAML, Kerberos, X.509, OIDC, …), the logout event ends the SAP sessions in the browser, but the Identity Provider session stays untouched. The next request to a protected SAP URL silently re-authenticates, and the user perceives "the logout didn't work."
7977

0 commit comments

Comments
 (0)