We have a configuration in Nginx that checks the incoming request headers and currently accepts only X-HIP-ID as "PSMRI_001". We now need to modify the configuration to accept multiple X-HIP-ID headers, and all these accepted IDs should be stored in a file and checked accordingly.
The list of accepted X-HIP-ID values will be provided by an ABDM API, and we need to ensure the configuration validates the headers against the list fetched from this API.
- Sandbox URL: https://dev.abdm.gov.in/devservice/v1/bridges/getServices
- Production URL: https://apis.abdm.gov.in/gateway/v1/bridges/getServices
For production environment(45.26) service IDs to be added -
"IN1810000667", "IN1810008468", "IN1010009060", "PSMRI_001", "IN1010002010", "IN1010002010", "IN1010002016", "IN1010010377", "IN1010002011", "IN1010001158", "IN1010001485", "IN0611140498", "IN0110005723_26", "IN1810008602", "IN1810008602", "IN1010002019", "IN1010001155", "IN1810008435", "IN1810008435", "IN1010001447", "IN1010010626"