I'm working on an application which has custom admin pages in CMS and also the front-end website.
Both these have the Sign-out feature and this is the method being used to sign out the user.


This works, but is there anything else that needs to be done like deleting cookies etc.

Using Sitecore 10.2

1 Answer 1


As per the Sitecore documentation, the AuthenticationManager.Logout() method does everything automatically.

When a user signs out from an external identity provider, Sitecore Identity redirects the user to the logout page of this identity provider, and then back to Sitecore. A full sign out from both Sitecore and the underlying identity provider usually cannot happen with a single request.

However, Sitecore Identity handles everything automatically when you use the AuthenticationManager.Logout() method.

You can refer to the document for more details.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.