# Help in the Registration Process - UIN - Email notification

**URL:** <https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443>\
**Category:** General\
**Created:** [April 25, 2023, 8:55am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443 "2023-04-25T08:55:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 25, 2023, 8:55am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443/1 "2023-04-25T08:55:42Z")

</div>

I used regclient to register a person. It was successful and I was able to print preview of the application.

But checking the registered person’s email - there was no email received that notifies the registration to MOSIP.

How do I check if email notification is working correctly? mock-smtp doesn’t show any errors.

Also where do I find the person’s UIN? I want to use it to test the function of modifying information

---

<div class="post-metadata">

**Author:** ![chandra\_sekhar](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/chandra_sekhar/32/129_2.png) [@chandra\_sekhar](https://community.mosip.io/u/chandra_sekhar)\
**Post date:** [April 26, 2023, 9:06am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443/2 "2023-04-26T09:06:40Z")

</div>

Hi @rcsampang  
Please check below roles are assigned to ‘mosip-regproc-client’ service account from Keycloaks. Please refer attached screenshot.

1. Publish\_Registration\_Processor\_workhlow\_completed\_Event\_General.
2. Publish\_Registration\_Processor\_workhlow\_Paused\_for\_AddInfoRequestID
3. Subscriber\_Registration\_Processor\_workhlow\_completed\_Event\_General
4. Subscriber\_Registration\_Processor\_workhlow\_Paused\_for\_AddInfoRequestID.  
 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/072fc48b0fa81a81516affa38ec91d05da86d994.png)

After adding above roles please restart stage/pods ‘regproc-notifier and regproc-workflow’.

- Once UIN is generated you can get details from ID Repo  
[https://api-internal](https://api-internal). **yourenv**.mosip.net/idrepository/v1/identity/idvid/ **yourRID**?type=bio  
Please replace the host name and RID details as per your environment.

Thanks,

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [April 27, 2023, 4:08am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443/3 "2023-04-27T04:08:51Z")

</div>

Thank you @chandra_sekhar

Upon checking, I can’t find two of the roles you specified:

Publish\_Registration\_Processor\_workhlow\_Paused\_for\_AddInfoRequestID  
Subscriber\_Registration\_Processor\_workhlow\_Paused\_for\_AddInfoRequestID

Instead, what I am getting are:

Publish\_Registration\_Processor\_workhlow\_Paused\_for\_AddInfo\_Event\_General  
Subscriber\_Registration\_Processor\_workhlow\_Paused\_for\_AddInfo\_Event\_General

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/fb3dbd55386d10ff11463c28f7e3af2d7d84571b.png)

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/78b950cccc859ca27513ba6fdd009d37be03b729.png)

Going through the other Available Roles, I still could not find those two you specified.

Also, where can I find the list of Roles for ‘mosip-regproc-client’ ?  
I may have accidentally removed a role while looking / checking the roles.

I tried to get the details from the ID Repo anyway. Of course it resulted to an error

![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/5466e490b0362e9be25d15782998ad5e615c9ef1.png)

---

<div class="post-metadata">

**Author:** ![chandra\_sekhar](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/chandra_sekhar/32/129_2.png) [@chandra\_sekhar](https://community.mosip.io/u/chandra_sekhar)\
**Post date:** [May 2, 2023, 10:14am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443/4 "2023-05-02T10:14:08Z")

</div>

Hi @rcsampang  
Apologies for the typo. Please add these roles and restart ‘regproc-notifier and regproc-workflow’ stages.

- Publish\_Registration\_Processor\_workFlow\_Paused\_for\_Additional\_Info\_Event\_General
- Subscriber\_Registration\_Processor\_workFlow\_Paused\_for\_Additional\_Info\_Event\_General.  
However, if you are not receiving notifications, kindly share your regproc notifier logs.

- List item

Before trying ID Repo, please do authentication  
[https://api-internal.qatriple.mosip.net/v1/authmanager/swagger-ui/index.html?configUrl=/v1/authmanager/v3/api-docs/swagger-config#/authmanager/clientIdSecretKey](https://api-internal.qatriple.mosip.net/v1/authmanager/swagger-ui/index.html?configUrl=/v1/authmanager/v3/api-docs/swagger-config#/authmanager/clientIdSecretKey)

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/2543eae91368cf7c31825668826cfbb1b8a745b7.png)  
Thanks

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [May 3, 2023, 8:08am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443/5 "2023-05-03T08:08:48Z")

</div>

Hello @chandra_sekhar

I authenticated as instructed:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/49e0ccdae528cbc4b59c8d3b7eae21f713d20f67.png)

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/e93cbe490ea6d8023c62fdff4f19bac727016a47.png)

I used this to get the secret key

$ echo “PMS Client Password : $( kubectl -n keycloak get secrets keycloak-client-secrets -o jsonpath={.data.mosip\_regproc\_client\_secret} | base64 -d )”

I run the command - [https://api-internal.x.x.x/idrepository/v1/identity/idvid/10016100010000120230425073814?type=bio](https://api-internal.x.x.x/idrepository/v1/identity/idvid/10016100010000120230425073814?type=bio)

![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/ab988db6dfa33421539bc86650246301012c241a.png)

Is there a list of Roles for ‘mosip-regproc-client’ so I could check whether all required roles have been added?

---

<div class="post-metadata">

**Author:** ![chandra\_sekhar](https://dub1.discourse-cdn.com/flex017/user_avatar/community.mosip.io/chandra_sekhar/32/129_2.png) [@chandra\_sekhar](https://community.mosip.io/u/chandra_sekhar)\
**Post date:** [May 8, 2023, 6:01am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443/6 "2023-05-08T06:01:03Z")

</div>

Hi @rcsampang  
Below are the list of roles for ‘mosip-regproc-client’  
name": “service-account-mosip-regproc-client”,  
“role”: “PARTNER,CREDENTIAL\_REQUEST,METADATA\_READ,SUBSCRIBE\_REGISTRATION\_PROCESSOR\_WORKFLOW\_COMPLETED\_EVENT\_GENERAL,default-roles-mosip,REGISTRATION\_PROCESSOR,PUBLISH\_REGISTRATION\_PROCESSOR\_WORKFLOW\_COMPLETED\_EVENT\_GENERAL,PMS\_USER,offline\_access,CREATE\_SHARE,PARTNER\_ADMIN,DATA\_READ,uma\_authorization,DOCUMENT\_READ,POLICYMANAGER,SUBSCRIBE\_REGISTRATION\_PROCESSOR\_WORKFLOW\_PAUSED\_FOR\_ADDITIONAL\_INFO\_EVENT\_GENERAL,PUBLISH\_REGISTRATION\_PROCESSOR\_WORKFLOW\_PAUSED\_FOR\_ADDITIONAL\_INFO\_EVENT\_GENERAL,BIOMETRIC\_READ,”.

You can verify available roles from validate token API, as shown in attached screenshot:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/f351779aa9a54fe2fd18eeb7a7f4fe85f2fd000c.png)

Thanks,

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [May 8, 2023, 6:43am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443/7 "2023-05-08T06:43:36Z")

</div>

@chandra_sekhar Thank you very much. This is very useful.

I managed to find out that I have indeed inadvertently removed some required roles.

Going through the list, I add them all back. For future reference, for myself and for others who might find this useful, the roles are listed down alphabetically:

BIOMETRIC\_READ  
CREATE\_SHARE  
CREDENTIAL\_REQUEST  
DATA\_READ  
default-roles-mosip  
DOCUMENT\_READ  
METADATA\_READ  
offline\_access  
PARTNER  
PARTNER\_ADMIN  
PMS\_USER  
POLICY  
MANAGER  
PUBLISH\_REGISTRATION\_PROCESSOR\_WORKFLOW\_COMPLETED\_EVENT\_GENERAL  
PUBLISH\_REGISTRATION\_PROCESSOR\_WORKFLOW\_PAUSED\_FOR\_ADDITIONAL\_INFO\_EVENT\_GENERAL  
REGISTRATION\_PROCESSOR  
SUBSCRIBE\_REGISTRATION\_PROCESSOR\_WORKFLOW\_COMPLETED\_EVENT\_GENERAL  
SUBSCRIBE\_REGISTRATION\_PROCESSOR\_WORKFLOW\_PAUSED\_FOR\_ADDITIONAL\_INFO\_EVENT\_GENERAL  
uma\_authorization

---

<div class="post-metadata">

**Author:** ![rcsampang](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@rcsampang](https://community.mosip.io/u/rcsampang)\
**Post date:** [May 9, 2023, 5:57am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443/8 "2023-05-09T05:57:48Z")

</div>

@chandra_sekhar I am happy to report that I can now get details from IP Repo including the UIN after doing/following the instructions. I just have to click Expand All to see all the details in the result.

![image](https://europe1.discourse-cdn.com/flex017/uploads/mosip1/original/1X/5a9e629ef05ffc7a64be6fd79e4bdf1c0551a256.png)

We can consider this issue closed. I will just post another one on the issue of notifications not being sent during pre-registration/registration to the registrant’s email.

---

<div class="post-metadata">

**Author:** ![gsasikumar](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@gsasikumar](https://community.mosip.io/u/gsasikumar)\
**Post date:** [May 9, 2023, 7:17am UTC](https://community.mosip.io/t/help-in-the-registration-process-uin-email-notification/443/9 "2023-05-09T07:17:48Z")

</div>


