I need access to Healthcare Professional ID Service API and for that as per documentation I need have hid role.
Please grant access to this Client ID : SBX_002557
@Ramandeep1, can you please look into this.
I need access to Healthcare Professional ID Service API and for that as per documentation I need have hid role.
Please grant access to this Client ID : SBX_002557
@Ramandeep1, can you please look into this.
Should I raise a ticket. If yes can you let me guide me how to do it
@pavan2108 Hi,
Can you share output of jwt.io ? It will share all the roles assigned to you. HID role is generally default role assigned at the time of issuance if client-id.
thanks.
Sure
{
“exp”: 1688995607,
“iat”: 1688974007,
“jti”: “ec3e8eb6-3063-472f-8683-2b9c9048d297”,
“iss”: “https://dev.ndhm.gov.in/auth/realms/central-registry”,
“aud”: “account”,
“sub”: “06b0c68b-b748-4a17-a0c4-282970facd65”,
“typ”: “Bearer”,
“azp”: “SBX_002557”,
“session_state”: “170464a5-bd7a-47c8-bd5f-86a4596c761d”,
“acr”: “1”,
“allowed-origins”: [
“http://localhost:9007”
],
“realm_access”: {
“roles”: [
“hiu”,
“offline_access”,
“healthId”,
“OIDC”,
“hip”
]
},
“resource_access”: {
“SBX_002557”: {
“roles”: [
“uma_protection”
]
},
“account”: {
“roles”: [
“manage-account”,
“manage-account-links”,
“view-profile”
]
}
},
“scope”: “openid email profile”,
“clientHost”: “10.233.67.21”,
“clientId”: “SBX_002557”,
“email_verified”: false,
“preferred_username”: “service-account-sbx_002557”,
“clientAddress”: “10.233.67.21”
}
This is the payload I am getting 401 error while I am trying to register health care professional ( doctor / nurse )
And also in api’s I can’t find the api docs for doctor registration in swagger but they are present in docs.