This SDK documentation is outdated. Please do not refer to it, and instead visit the User Guides section.

Skip to main content
Version: 8.1.X

Sign out

The signOut method simply revokes the session on the frontend and backend.

The signOut function#

import SuperTokens from 'supertokens-website';

SuperTokens.signOut();
Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI