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, in the query string of the service, you set the sts_signout parameter to true:
http://mysite.com/Sitefinity/SignOut?sts_signout=true
To log out a particular frontend user, you can specify the username by passing it as a query string along with the membership provider:
http://mysite.com/Sitefinity/SignOut?provider=Default&username=MyUserName
NOTE: You need administrator rights to perform the sign out operation for other users.
To redirect a user after a sign out operation, in the query string of the service, you set the redirect location:
http://mysite.com/Sitefinity/SignOut?redirect_uri=%20home
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:
false
http://mysite.com/Sitefinity/SignOut?redirect=false
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important