.. _refSignOut: Sign-out ======== Signing out of IdentityServer is as simple as removing the authentication cookie, but for doing a complete federated sign-out, we must consider signing the user out of the client applications (and maybe even up-stream identity providers) as well. Removing the authentication cookie ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ To remove the authentication cookie, simply use the ``SignOutAsync`` extension method on the ``HttpContext``. You will need to pass the scheme used (which is provided by ``IdentityServerConstants.DefaultCookieAuthenticationScheme`` unless you have changed it):: await HttpContext.SignOutAsync(IdentityServerConstants.DefaultCookieAuthenticationScheme); Or you can use the convenience extension method that is provided by IdentityServer:: await HttpContext.SignOutAsync(); .. Note:: Typically you should prompt the user for signout (meaning require a POST), otherwise an attacker could hotlink to your logout page causing the user to be automatically logged out. Notifying clients that the user has signed-out ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ As part of the signout process you will want to ensure client applications are informed that the user has signed out. IdentityServer supports the `front-channel `_ specification for server-side clients (e.g. MVC), the `back-channel `_ specification for server-side clients (e.g. MVC), and the `session management `_ specification for browser-based JavaScript clients (e.g. SPA, React, Angular, etc.). **Front-channel server-side clients** To signout the user from the server-side client applications via the front-channel spec, the "logged out" page in IdentityServer must render an ``