Change password
Last updated
Last updated
Pre-prod: https://pre-prod-id.idshare.info/ (https://pre-prod-id.idshare.info/swagger/index.html)
Production: https://id.idshare.info (https://id.idshare.info/swagger/index.html)
POST
/api/v1/user/change-password-by-token
currentPassword*
String
passwordNew*
String
confirmPasswordNew*
String
Current password
Textbox
Enter your current password in the field Can hide/show password when pressing icon show/hide password, display cover password as (•) or (*) – hide password by default
If you leave it blank or enter a space, the message "Please enter current password"
In case the current password is entered incorrectly, the message "Password is incorrect" will be displayed.
Password
Textbox
Format:
⦁ At least 8 characters, at most 16 characters
⦁ Password required contains uppercase, lowercase letters, special characters and numbers
Can hide/show password when pressing icon show/hide password, display cover password as (•) or (*) – hide password by default
If you leave it blank or enter a space, the message "Please enter a password." – “Please enter a valid password”
In case of incorrect/missing format, the message "Please enter the correct format: 4 to 16 characters including uppercase, lowercase, special character(s) and numeric character(s)"
Confirm password
Textbox
Can hide/show password when clicking show/hide password icon, show password mask as (•) or (*) – hide password by default
If you leave it blank or enter a space, the message “Please re-enter password.”
In case of re-entering the password that does not match the password field above, the message “The password doesn't match. Please re-enter the password that matches the one entered above."
Confirm
Button
Press the button to change the password Show message “You have successfully changed your password”
User
Select change password
Frontend
Display the input frame, there are 3 required fields:
⦁ Current Password
⦁ New Password
⦁ Confirm New Password
User
Enter information in the fields
Select change password
Frontend
Check the information fields in the formats described above:
If true -> Step 5
If false, the corresponding message is displayed
Backend
Update user's changed password
Frontend
Display successful password change message