We are getting error while onboarding user whose roles are REGISTRATION_OFFICER, REGISTRATION_SUPERVISOR.
Steps
- Create new user in keycloak
- Enabled REGISTRATION_OFFICER and REGISTRATION_SUPERVISOR
- Ran the mockmds for biometric
- Run the regclient
- Login with credentials
- Restart after sync
- Click on Get Onboarded
- Capture biometric via mock - Hard coded quality score in order to enable Save button
- Click on Save
There we are receiving below error,
i.m.r.s.o.i.UserOnboardServiceImpl : REGISTRATION - USER_ONBOARD - USER_ONBOARD_IMLP - REGISTRATION - REG - [{errorCode=RPR-RCT-001, errorMessage=RPR-RCT-001}]
Please confirm whether we can able to onboard user with mock MDS biometric.
errorMessage=RPR-RCT-001
Hi @Ganesh_Subramanian
Yes, we can onboard users with mock MDS biometrics for testing purposes but it is feasible to do it in our collab environment or local system because it simulates device services for testing, authentication, and delete registration functionalities and it will allow developers to interact with a device-service environment without a physical device.
@HimajaDhanyamraju2 Please look into this error.
Best Regards,
Team MOSIP
Hi @Ganesh_Subramanian,
For onboarding to be success, we need to map a valid UIN for that user in keycloak.
In keycloak, for your username, under Attributes section, we should have key as “individualId” and value as any valid UIN created in that environment.
Please cross-check if that mapping is done. If not done, please add it and then try onboarding from regclient.
Thanks & Regards,
Himaja Dhanyamraju
1 Like
Thanks that is missing. I will validate this and update you.
1 Like
Sure @Ganesh_Subramanian let us know if the query was resolved post-mapping valid UIN for that user in keycloak