StableAction
Sign out
Overview
Signs the current user out of the app.
Purpose
Put it in the account menu or on a profile page.
Inputs
- No settings.
Configuration
- Often followed by Go to page Home for a clean landing.
Outputs
- None. The user becomes a visitor (Public role) and pages that require sign-in redirect to the sign-in screen.
Example
Account menu
Example
Button “Sign out” › On click: 1. Sign out 2. Go to page Home
Errors
- None.
Limitations
- Signs out of this app only (not of other apps in your workspace).
Advanced
- Schema:
{ type: "logout" }. Callsrt.logout(), which ends the app session on the server and refreshes the user.