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.
//Configure the redirect url after successful logout var redirectURL = ""; //Use the redirect url and call the method to sign out  var auth = catalyst.auth; auth.signOut(redirectURL);

Last Updated 2023-05-19 12:11:43 +0530 +0530