On Auth Success
The On Auth Success event fires if a user successfully logs in.
This is a server-side ProcScript event.
Available Variables
All variables exposed in 1️⃣Before Process are exposed, with the addition of:
username
- username the user logged in with
auth_item
- Raw item used in authentication or null (eg: {item_id:1234, fields:[...], etc})
auth_item_values
- Simplified authenticated user item or null (eg: {title:"foo", number:2, etc})
Examples
Maybe you want to save the logged in user’s role for later (assuming a field called “role” on the user record:
my_variables.user_role = auth_item_values.role