curl --location --request GET 'https://stg-id.uaepass.ae/idshub/userinfo' \
--header 'Authorization: Bearer {Access Token}'
Response(Citizen/Resident Profile)
{
"sub": "UAEPASS/7a05992e-3244-49d3-bcbc-7894c8fca25e",
"fullnameAR": "ساوميا,,,,شارما,,",
"gender": "Male",
"mobile": "97151234003",
"lastnameEN": "ABC",
"fullnameEN": "Ram,,,,ABC,,",
"uuid": "7a05992e-3244-49d3-bcbc-7894c8fca25e",
"lastnameAR": "شارما",
"idn": "784189014978983",
"nationalityEN": "IND",
"firstnameEN": "Ram",
"userType": "SOP3",
"nationalityAR": "هندى",
"firstnameAR": "ساوميا",
"email": "ramabc1234@gmail.com"
}
Response(Visitor Profile)
{
"sub": "800F475AC0E7A9ED01B2D5D2C25A59B3",
"userType": "SOP3",
"fullnameAR": "سميث جون",
"fullnameEN": "John Smith",
"gender": "Male",
"lastnameEN": "Smith",
"nationalityAR": "الهند",
"firstnameEN": "John",
"idn": "784000000000000",
"idType": "ID",
"email": "john.smith@organization.com",
"spuuid": "b1320896-fb2e-5140-baf0-fa915eb9be5d",
"nationalityEN": "IND",
"firstnameAR": "جون",
"lastnameAR": "سميث",
"acr": "urn:safelayer:tws:policies:authentication:level:high",
"mobile": "9715555555555",
"titleEN": "Dr.",
"titleAR": ".د",
"amr": [
"urn:safelayer:tws:policies:authentication:adaptive:methods:mobileid",
"urn:uae:authentication:method:verified"
]
}
Step 2 and 3 are shown pictorially below as sequence diagram: