How to logout from AEM Publish instance | Community
Skip to main content
Level 4
November 19, 2021

How to logout from AEM Publish instance

  • November 19, 2021
  • 1 reply
  • 3885 views

Hi,

We have intregated the AEM Publisher instance to SAML. We want to implement the logout functionality for the application.We are successfully logout from the SAML session somehow AEM Session is still there, because we see the login-token cookie in the browser even after the SAML logout.

In Author instance, we are using /system/sling/logout.html it is able to clear the login-token cookie from the browser.

But In publish instance, if we are using /system/sling/logout.html, we are getting the below error.

Not Found

The requested URL /system/sling/logout.html was not found on this server.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
Community Advisor
Community Advisor
November 19, 2021

Hi, could you please check if logout url is blocked from dispatcher? If yes then try with allowing this request.

/0500 { /type "allow" /method "GET" /url "/system/sling/logout" }

Arun Patidar
Level 4
November 22, 2021

Hi @arunpatidar , I have updated the dispatcher configuration, still I am facing from the 404 error in publish instance.

 

 

Could you please help me on this.

 

arunpatidar
Community Advisor
Community Advisor
November 22, 2021

Can you try to hit this page from publisher without dispatcher to check if it is accessible or not?
I would suggest check the error log and dispatcher log to confirm if this is access issue or something else?

Arun Patidar