Anonymous User Enhanced

Content Type: Module
Categories: Authentication

Overview

This module provides a very basic password reset/forgot password functionality purely using Mendix functionality. 

The only dependencies are

  • The Email Connector module will send out the password reset email.
  • The community commons to retrieve the Application Root URL
  • Atlas Core for the default layout selection
  • Combo box, cause it is awesome

This module will provide a process to reset your password by providing an email address. If an Administration. An account object with that email address exists. It will send out an email from which a user may start the process of entering a new password.

This module provides a very basic password reset/forgot password functionality purely using Mendix functionality. 

The only dependencies are

  • The Email Connector module will send out the password reset email.
  • The community commons to retrieve the Application Root URL
  • Atlas Core for the default layout selection
  • Combo box, cause it is awesome

This module will provide a process to reset your password by providing an email address. If an Administration. An account object with that email address exists. It will send out an email from which a user may start the process of entering a new password.

Documentation

Typical usage scenario

Allow your users to login without needing to remember their application password, as they will get a link in their inbox to complete login.

 

Features and limitations

Is tied to the Administration and Email connector modules

Also allows for limiting the maximum amount of active users if you have a limited user license such as for basic license apps.

 

Dependencies

  • Administration module
  • Email Connector module (which requires the Mx Model Reflection and Encryption modules)
  • Community Commons
  • Encryption Module
  • Mx 10 version requires Java 21

 

Installation

  1. Import this module
  2. Import dependencies
  3. Synchronize the modules in the Mx Model Reflection management page
    1. AnonymousUserEnhanced,
    2. Administration,
    3. System
  4. Configure an email account
  5. Configure a template that uses the EmailHelper, it should at the very least contain the URL as a link and a code for the code confirmation
  6. Set the configured email account and template in the settings page (which you may add in the form of the SNP_AnonymousUserEnhanced_Management snippet)
  7. Configure the signin page to use the SNP_LoginForm, and also make sure that the page is accessible to anonymous users
  8. Map the module roles to their respective users
  9. Implement the signout flow by copying the ACT_Account_Deactivate and ACT_Signout to your module
  10. Enable the two scheduled events shipped with the module ScE_Account_DeactivateInactive & ScE_AnonSession_CleanupExpired
  11. Enjoy your magic link login!

Releases

Version: 11.0.0
Framework Version: 11.0.0
Release Notes: Mx 11 version, compatible with Atlas 4 and updated usage of primitive parameters for code confirmation.
Version: 10.0.0
Framework Version: 10.24.0
Release Notes: Version compatible with 10.24 and React compatible
Version: 2.0.1
Framework Version: 10.12.10
Release Notes: - Fixed setting anonymous session - Fixed reload to homepage due to having a misalignment on where to redirect to
Version: 2.0.0
Framework Version: 10.12.10
Release Notes: - Updated to be compatible with Mx 10.12.10+ - Updated to be compatible with Java version 21 - Adjusted flow to no longer need DSS instead, using native deep link URL to MF Thank you, Kathy, for giving me the feedback about Mx10 issues
Version: 1.1.1
Framework Version: 9.24.29
Release Notes: - Fixed setting anonymous session - Fixed reload to homepage due to having a misalignment on where to redirect to
Version: 1.1.0
Framework Version: 9.24.29
Release Notes: Added code confirmation to prevent mail scanners from expiring the anonymous session helper object.
Version: 1.0.2
Framework Version: 9.24.29
Release Notes: Fixed failure to authenticate page access
Version: 1.0.1
Framework Version: 9.24.29
Release Notes: Fixed small bug that caused sessions to be killed to quickly
Version: 1.0.0
Framework Version: 9.24.29
Release Notes: Initial release