eSignet API collection

We have configured the eSignet GitHub repository (GitHub - mosip/esignet: Open ID based e-Signet service for large scale verification & authentication.) on our local server.
In the Postman API collection, I can see multiple collections available (esignet/docs/postman-collections/README.md at master · mosip/esignet · GitHub).
We are currently working on the collection esignet-with-mock-IDA.postman_collection.json.

Some APIs are functioning as expected, but some are returning errors:
OIDC Client Management:
-Get CSRF Token: Success
-Create OIDC Client: Success
-Update OIDC: Success

Mock Identity System:
-Create Mock Identity: Error in Pre-Request Script (pm.collectionVariables.set(“client_assertion”, signed_jwt))
-Get Mock Identity: (Pending)

AuthCode Flow with OTP Login:
-Get CSRF Token: Success
-Authorize / OAuth Details Request: Success
-Send OTP: Error (“errorMessage”: “invalid_request”)
-Authenticate User: Error (“errorMessage”: “invalid_request”)

As per the documentation in YAML: esignet/docs/esignet-openapi.yaml at master · mosip/esignet · GitHub
In Body, we are Passing the proper values that we received in the previous req.
eg clientId, codeChallenge, transactionId, individualId, captchaToken, challengeList
Also giving proper values for below Header X-XSRF-TOKEN, oauth-details-key, oauth-details-hash,

Please let me know what can be the Issue??

Hi @prasadk,

Welcome to the community. We are looking into this issue and one of our technical experts will get back to you shortly.

Best Regards,
Team MOSIP

Hi @prasadk,

Thank you.

Dear @prasadk,

This is to check back on your query and if our input helped you with this, kindly let us know!

Best Regards
Team MOSIP

Hello Keshav,

I’m currently tied up with another project and haven’t had a chance to work on it again.
I’ll let you know once I can check it.

1 Like