Categories:
whatsapp-logout dialog
Description of the whatsapp-logout dialog, that handles the log out process for this channel
Introduction
The whatsapp-logout dialog is a global dialog in charge of the user’s logout in the WhatsApp channel.
📃 Check the dialog’s code in the aura-bot-libraries Github repository.
Flows
The flow of this dialog is simple. In the first step, a prompt is returned to the user to confirm if he wants to logout.
After that, if he accepts, certain actions are performed:
- The user is deleted in Aura database calling the aura services API. If this call fails, an error will be returned, and the logout will fail.
- The user is deleted in Kernel calling the logout endpoint. If this call fails, the flow continues normally returning a success message to the user and only showing an error log.
- If the user is logged with LoA3, access session is deleted in Kernel calling access session delete endpoint. If this call fails, the flow continues normally returning a success message and only showing the error in logs.
- The local cache is set to invalid to force the refresh next time the user interacts with Aura.
Last modified September 12, 2025: feat: Clean up of MHC, Metaverso and COL projects #AURA-30235 [RTM] (17c23953)