Sign a User Out From The Application

A user can log out from the application using the signOut() method where the redirect URL is passed as an argument.The auth reference used in the code snippet below is the auth instance.

Note : This does not return a promise.
    
copy
//Configure the redirect url after successful logout var redirectURL = "https://catalyst.zoho.com"; //Use the redirect url and call the method to sign out  var auth = catalyst.auth; auth.signOut(redirectURL);

Last Updated 2024-10-08 19:46:20 +0530 +0530