BrainGrid Controller
Workflow Builder
Triggers
Auth Trigger

Auth Trigger Setup

Auth Triggers in the Workflow Management module enable automated responses based on authentication events. This feature helps manage and react to different user authentication actions like login, logout, password resets, and password changes.

Overview

Auth Triggers can be configured to respond to specific authentication-related events. By setting up triggers for login, logout, password resets, and password changes, you can ensure that your workflows react appropriately to user authentication activities.

Configuring Auth Triggers

Configure Auth Trigger for Login Event

To configure an Auth Trigger for user login:

  1. Title: Provide a descriptive title for the trigger.
  2. Description: Explain the purpose of the trigger.
  3. Authorization options: Select Login.

Example:

  • Title: User Login Trigger
  • Description: Trigger on user login
  • Authorization options: Login

Outcome: The Auth Trigger will be set to activate on user login.

Configure Auth Trigger for Logout Event

To configure an Auth Trigger for user logout:

  1. Title: Provide a descriptive title for the trigger.
  2. Description: Explain the purpose of the trigger.
  3. Authorization options: Select Logout.

Example:

  • Title: User Logout Trigger
  • Description: Trigger on user logout
  • Authorization options: Logout

Outcome: The Auth Trigger will be set to activate on user logout.

Configure Auth Trigger for Password Reset Event

To configure an Auth Trigger for user password reset:

  1. Title: Provide a descriptive title for the trigger.
  2. Description: Explain the purpose of the trigger.
  3. Authorization options: Select Password Reset.

Example:

  • Title: Password Reset Trigger
  • Description: Trigger on password reset
  • Authorization options: Password Reset

Outcome: The Auth Trigger will be set to activate on user password reset.

Configure Auth Trigger for Change Password Event

To configure an Auth Trigger for user change password:

  1. Title: Provide a descriptive title for the trigger.
  2. Description: Explain the purpose of the trigger.
  3. Authorization options: Select Change Password.

Example:

  • Title: Change Password Trigger
  • Description: Trigger on change password
  • Authorization options: Change Password

Outcome: The Auth Trigger will be set to activate on user change password.

Validating Auth Triggers

To validate the configuration of an Auth Trigger:

  1. Review Configuration: Ensure all fields are correctly filled with appropriate values.
  2. Check Authorization Options: Confirm that the correct authentication event is selected.

Validation Checklist:

  • Title
  • Description
  • Authorization options

Verifying Auth Trigger Activation

Verify Login Auth Trigger Activation

To verify activation of the Auth Trigger for user login:

  1. Trigger: Perform a user login.
  2. User Action: User successfully logs in.

Expected Outcome:

  • The Auth Trigger should be activated and verified as working correctly.

Verify Logout Auth Trigger Activation

To verify activation of the Auth Trigger for user logout:

  1. Trigger: Perform a user logout.
  2. User Action: User successfully logs out.

Expected Outcome:

  • The Auth Trigger should be activated and verified as working correctly.

Verify Password Reset Auth Trigger Activation

To verify activation of the Auth Trigger for user password reset:

  1. Trigger: Perform a password reset.
  2. User Action: Password reset is completed successfully.

Expected Outcome:

  • The Auth Trigger should be activated and verified as working correctly.

Verify Change Password Auth Trigger Activation

To verify activation of the Auth Trigger for user change password:

  1. Trigger: Perform a password change.
  2. User Action: Password change is completed successfully.

Expected Outcome:

  • The Auth Trigger should be activated and verified as working correctly.

Summary

Auth Triggers enable the Workflow Management module to automate responses to authentication events, such as user logins, logouts, password resets, and password changes. By configuring and verifying these triggers, users can ensure that their workflows react appropriately to key authentication actions.