Skip to main content
Version: 0.15.X

signOut()

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

import { signOut } from "supertokens-auth-react/recipe/thirdpartyemailpassword";

await signOut();
caution

This function does not redirect the user to the login screen. You will need to do that yourself post awaiting it.

Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react