Hi team
@integrationSupport
@Sachin
i am using these url :
https://dev.abdm.gov.in/gateway/v0.5/users/auth/on-notify
request header :
X-CM-ID = sbx
The response was coming :
1 (202 accepted )
- call back response was not coming in webhook
Hi team
@integrationSupport
@Sachin
i am using these url :
https://dev.abdm.gov.in/gateway/v0.5/users/auth/on-notify
request header :
X-CM-ID = sbx
The response was coming :
1 (202 accepted )
Kindly pass the request Id of /notify call in “resp”: { “requestId”: }
Hi team
@Sachin
@IntegrationSupport
I am using thees flow is :
request :
Header i can pass
X-HIP-ID = 6789
Hi team
@IntegrationSupport
@Sachin
This is my url :
https://dev.abdm.gov.in/gateway/v0.5/users/auth/notify
why it was coming the Access Denied in postman
In these url writing the java code
https://dev.abdm.gov.in/gateway/v0.5/users/auth/notify
the url was working response coming in web hook
I postman it showing Access Denied why ?
Dear @Humera,
Kindly drop me a mail including this devforum link. we will connect and resolve you issue.
mail: abdm.pc20@nha.gov.in
@Sachin
@IntegrationSupport
i send a mail to you and this mail abdm.pc20@nha.gov.in
please check it once .
@IntegrationSupport
@integration.Support@nha.gov.in
Hi team
I am using thees flow is :
request :
![Screenshot 2023-07-27 151724|690x438]
Header i can pass
X-HIP-ID = 6789
why it was coming the Access Denied in postman
In these url writing the java code
https://dev.abdm.gov.in/gateway/v0.5/users/auth/notify
the url was working response coming in web hook
I postman it showing Access Denied why ?
@Humera, Please do not use direct auth modes API’s. Use these three auth modes" Mobile OTP, Aadhaar OTP and Demographic
Here is the curl of /on notify call
curl --location ‘https://dev.abdm.gov.in/gateway/v0.5/consents/hip/on-notify’
–header ‘X-CM-ID: sbx’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2OTA4MjYwOTEsImlhdCI6MTY5MDgwNDQ5MSwianRpIjoiZDcyYjZjODEtMD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MA-twtS3oU0F2j3sDkPAbiHNkFHiKl_SSEFt9a1mKcbjSGJ1tIRJ9q9WY3sBz2_lMnxtjTkhNpUA0bOEy1yt2dZSBCwX0keZFsI_IFTvWdNeNRYQiU47Y4kQlWEyPHFQT65t3eWznBXx7L47m1WRzJQh42qFEpit9l9Q6p_96_VxAy5LLUFIc3Pt324xBJubTagiiT8Js1_7K-Hv2jrOHwQ’
–data ‘{
“requestId”: “caa4d0b6-e699-49ad-bfef-013625f6e58a”,
“timestamp”: “2023-07-24T06:28:16.787000”,
“acknowledgement”: {
“status”: “OK”,
“consentId”: “eee2b98c-a049-47dd-a300-00d1b0e9c5fd”
},
“resp”: {
“requestId”: “bd124e69-513e-4877-8fca-bb93794124a9”
}
}’
In Pre request script use this script to set timestamp variable:
const moment = require(‘moment’);pm.globals.set(“timestamp”, moment.utc().add(300, ‘seconds’).format(“YYYY-MM-DDTHH:mm:ss.SSSSSS”));
@IntegrationSupport
@integration.support@nha.gov.on
@Sachin
hi sachin
i have one dout
I recently started milestone-2 i am using these flow
1) HIP Initiated Linking
1.1) HIP initiated linking for the patients with mobile number —> completed
1.2) HIP initiated linking for the patients with demographic details —> completed
1.3) HIP initiated linking for the patients with DIRECT auth --> i am not doing or not using these My be iam thinking i want to do subscription the hip in these 1.3 concept
2) User (Patient) Initiated Linking
2.1) Discovery and linking hip end ----> completed
cau u please try to help me regarding these
@Humera Please read this document here for HIU initiated discover and linking or Patient initiated linking https://sandbox.abdm.gov.in/static/media/Building%20HIP%20System%20_%20API%20Flow_M2__Documentation.d3949bd2.pdf
You can also check our webinars here : Webinar 8 and 11
https://sandbox.abdm.gov.in/webinars
@IntegrationSupport
@Sachin
These is regarding on milestone-2 :
How can i get the { PERPETUAL Access token } in the HIP initiated linking for the patients with DIRECT auth can u please tell me the flow for these
@Humera It is recommended not to use DIRECT AUTH method in HIP linking. You can follow, mobile OTP, aadhaar OTP, Demographic auth method for HIP linking. This is not mandate for private entities.
Can you please explain what is PERPETUAL Access Token. Because there is only access token which is generated by sessions API.
@IntegrationSupport
@Sachin
I am using only these “Auth mode” AADHAAR_OTP,MOBILE_OTP,DEMOGRAPHICS for the HIP initiated linking for the patients with DIRECT auth
* These is mandatory for doing the HIP initiated linking so can u please help me
So how can i get the PERPETUAL Access Token
Can you please explain what is PERPETUAL Access Token :
PERPETUAL Access(perpetual Access Token) Token these is in the HIP initiated linking for the patients with DIRECT auth flow chat for regarding the documentation i am following
{send a perpetual Access Token for future context care linking}
@IntegrationSupport
@Sachin
Hi Good morning team
I am facing these on issue still 1 week based on HIP initiated linking for the patients with DIRECT
I am following the flow chat digram :
https://dev.abdm.gov.in/gateway/v0.5/users/auth/init { response - Showing 202 Accepted in postman and also response coming in webhook }
This my screenshot for auth/init
https://dev.abdm.gov.in/gateway/v0.5/users/auth/on-notify { response - 202 Accepted in postman but response not coming in webhook }
This is screenshot for auth/on-notify
If i am hitting the auth/notify
1 ) https://dev.abdm.gov.in/gateway/v0.5/users/auth/notify { Response was not comming in postman it was showing the Access Denied }
@Humera Hi, just to let you know that you have a understanding gap here. For HIP initiated linking, you use three auth modes for linking , i.e, Aadhaar OTP, Mobile OTP, Demographic auth mode for linking purpose. Direct auth is another auth mode used for HIP linking, but as mentioned this is not mandate for private entities.
**NOTE : You cannot perform the three auth modes for the HIP initiated linking for the patients with the DIRECT auth.
@IntegrationSupport
@Sachin
Hi team
Tq for the giving response to me
I got clearty on HIP Initiated Linking in these they are two types 1) Mediated 2) Direct
only use Mediated ( AADHAAR_OTP,MOBILE_OTP,DEMOGRAPHICS ) only
Direct auth not using
I am using these flow chat :
It was working I got the response also