Password Management
Password reset flows for end users and admin-initiated resets in Basic Authentication.
Covers both user-initiated password resets and admin-triggered resets.
User-Initiated Reset (Forgot/Reset)
User requests a reset link
Run
authForgotaction (requiresemailin the model)Server generates a time-bound, one-time reset token and stores it on the user record in the helper
onAuthNotifierhook runs with the user object in$$BF_Userand sends the reset email link (developer-configured)User clicks the link and lands on the reset page (token in URL)
User submits new password; page runs
authResetwith the tokenServer validates token, updates the password hash, and invalidates the token
onAuthNotifierhook runs to optionally notify that the password reset succeeded
Recommended page actions:
Request page:
authForgotReset page:
authReset(requirespasswordand a valid token via URL)
Admin-Triggered Reset
When an admin resets a user’s password:
This is currently not supported
Hooks (FileMaker)
onAuthNotifier: email delivery for reset links and notificationsOptional business logic hooks to enforce account validity etc
Security Considerations
Treat reset tokens as secrets; limit TTL and ensure single-use
Never log tokens or cleartext passwords
Last updated