URL to get KYC in the Mock Data for a Persona

Dear Mosip

Which url can I use to get the mock users KYC information upon successful login on

https://esignet.collab.mosip.net/

If you can point me to any api documentation on it
I can see that there is an endpoint

https://esignet-mock.collab.mosip.net/v1/esignet/oidc/userinfo

to get the info but what other parameters are sent to get the information from this endpoint

Hi @James_Simbi_Mjuweni

@Anusha_sunkadh Can you please help here on getting the information for other parameters from the endpoint?

Best Regards,
Team MOSIP

Hi @James_Simbi_Mjuweni,

Kindly note that when https://esignet.collab.mosip.net is used to login then https://esignet.collab.mosip.net/v1/esignet/oidc/userinfo should be used to get userinfo

https://esignet.collab.mosip.net/v1/esignet/oidc/userinfo is a GET endpoint. It only requires ā€œAuthorizationā€ header with a valid access token.

curl --location ā€˜https://esignet.collab.mosip.net/v1/esignet/oidc/userinfoā€™
ā€“header ā€˜Authorization: Bearer replace-access-token-hereā€™

I am able to get the bearer token the first time. Thank you

But if I try it the second time it fails, does the server have maximum amount of request per account?

James, you can exchange one auth-code for an access-token only once.

2 Likes