gitcommitshow
04/27/2022, 5:07 AMonHandleEventsupertokens-websiteawait supertokens.signOut();onHandleEventsupertokens.init({
    apiDomain: "...",
    onHandleEvent: (context) => {
        if (context.action === "UNAUTHORISED") {
            alert("You are not logged in");
            if (context.sessionExpiredOrRevoked) {
              console.log("Session expired or revoked")
            }
        }
    }
})rp_st
04/27/2022, 5:09 AMrp_st
04/27/2022, 5:10 AMrp_st
04/27/2022, 5:10 AM