Sign out reference API
The signOut
method simply revokes the session for the user. It does not provide any UI for a Sign out button and does not do any redirect in your page on your behalf. Please make sure to implement those yourself.
Example:
import { signOut } from "supertokens-auth-react/recipe/thirdparty";
await signOut();
- signOut:
- Description:
signOut
method called to revoke the current session. Note that this method is asynchronous and you should wait for it to return before considering it was successful. - Output:
200
: if successful
- Description: