Cookies header are not passed from Azure API Manager to backend

Naman Shah 35 Reputation points
2023-05-08T13:47:28.8666667+00:00

Hello ,

I am using Azure API Manager for integrating with Ping Identity manager. while sending the request , Ping is expecting cookies (these are session cookies) . I have set cookie in header but these values are not passed.

I am testing using deprecated dev portal and setting cookies headers in APIM

Both APIM and IDP are in different domains.

Is APIM trimming headers>?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,930 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Naman Shah 35 Reputation points
    2023-05-13T21:07:20.1+00:00

    Hello @MuthuKumaranMurugaachari-MSFT , we found that APIM was removing the Cookie header as frontend (APIM) domain was different and backend URL domain was different. We managed it by having APIM under the same domain name (e.g apimgw.abcd.com , backendapi.abcd.com). It worked. Thanks for followup;

    1 person found this answer helpful.