Sitefinity CMS allows users to perform a sign out operation from the client application via HTTP. You can access the logout REST service of your Sitefinity CMS application via the /Sitefinity/SignOut service address. You can call the service directly or pass query string parameters to specify additional behavior, for example, redirect action after sign out.
To log out the current user, you can use the following service:
To sign out a particular user, you can specify the username by passing it as a query string along with the membership provider:
NOTE: You need administrator rights to perform the sign out operation for other users.
To perform an STS sign out, in the query string of the service, you set the sts_signout parameter to true:
To redirect a user after a sign out operation, in the query string of the service, you set the redirect location:
NOTE: If the redirect_uri parameter is not set, at the end of the sign out operation, the user is redirected to the root of the site.
In case you do not want to redirect the user after the log out operation, in the query string of the service, you set the redirect parameter to false:
Back To Top