[OPENIDM-11536] Cannot set user password for user created through full-stack social registration Created: 16/Aug/18  Updated: 16/Oct/19  Resolved: 16/Oct/19

Status: Closed
Project: OpenIDM
Component/s: Module - Web UI
Affects Version/s: OpenIDM 6.0.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Huck Elliott Assignee: Huck Elliott
Resolution: Won't Fix Votes: 0
Labels: PHOENIX, full-stack, release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2018-08-16 at 11.46.40 AM.png     PNG File Screen Shot 2018-08-16 at 11.54.29 AM.png    
Target Version/s:
Story Points: 0

 Description   

When full-stack is set up with social login/registration and a user is created through social registration the managed user does not have a password. The idm profile page does not allow the user to create a password without passing in Current Password but it does not exist.

After a little digging to see why it looks like the user's protectedAttributesList contains "password" when in full-stack mode, which tells the ui to protect changes to password by collecting the Current Password, but it's not in that list when idm is in default mode. The UI logic for this is found in 
openidm-ui/openidm-ui-enduser/src/main/js/org/forgerock/openidm/ui/user/profile/signInAndSecurity/EditPasswordPageView.js around line 39 (see screenshot)

 


Generated at Fri Sep 25 23:46:58 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.