Can we use Authorization
header in APIs like /v0.5/care-contexts/discover
API to authenticate Consent Manager?
If yes, how can we do that?
Hi @Arvind,
Any calls that a HIP/HIU receive will be communicated from CM via Gateway. You can use Authorization header to authenticate the incoming requests from Gateway.
It contains the gateway
role which you can use to authorize the requests.
Thanks.
Hey @Mounica,
Thanks for your reply.
As a follow-up question,
Does this authorization header matches with the Access token that we receive in Sessions API, so that we can match it with to authenticate requests?
Hi @Arvind,
Its not the same access token that you receive in sessions API. It contains the gateway
role which you can use to authorise the requests.
Hi @Gayatrij
Can you please elaborate on how to validate the gateway request? Unable to understand the usage of gateway role in doing the same.
Regards,
Ravi
Hi @raveeo,
Please have a look at another thread where we discussed similar. Let us know if you have more questions.
Thank you
Thank you… will check it out