Password Expiry
🔒 Password Expiry Handling – REL-ID SDK Overview
📘 Purpose
The REL-ID SDK includes built-in support to detect when a user's password has expired and provides a secure method for resetting the password using the updatePassword
API. This ensures users can recover access without administrative intervention while maintaining security compliance.
🔄 Scenario : Password Expired
- Automatic Trigger: SDK auto-triggers
getPassword
event upon login with challenge modeRDNA_OP_UPDATE_ON_EXPIRY
(4). - App Action: Prompt user to enter current and new passwords.
- API Call:
updatePassword(currentPassword, newPassword, 4)
- SDK Response:
- Immediate
onUpdateCredentialResponse
for success/failure. - On success, triggers
onUserLoggedIn
.
- Immediate
Updated 2 months ago