Authentication sign out endpoint

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:

http://mysite.com/Sitefinity/SignOut?redirect=false

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?