AEM Cloud - Set-cookie Missing From ProxyPassReverse Request | Community
Skip to main content
New Participant
July 11, 2022
Solved

AEM Cloud - Set-cookie Missing From ProxyPassReverse Request

  • July 11, 2022
  • 1 reply
  • 1307 views

Hi,

 

I'm in the process of migrating to AEM Cloud Service and I needed to enable the dispatcher's ProxyPassReverse to make an api call. However, upon receiving the response, all the headers of the api response are present. Except SET-COOKIE. I looked in the dispatcher files and they don't have anything blocking this specific header.

In the current project with the Managed Service, I had the same problem only on CloudFront. There I had to change a cookie setting, so that it would allow the SET-COOKIE to be sent to the browser along with the other headers.

Has anyone had this problem or know how to help?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edufc

Just an update. This problem is internal to Adobe's infrastructure, it was necessary to open a ticket and they are still analyzing it.

No deadline for resolution.

1 reply

SantoshSai
New Participant
July 12, 2022

Hi @edufc ,

The dispatcher allows you to filter headers, which are then forwarded to the AEM instance (or blocked). 

Make sure that these headers are provided there, as they are not included by default.

See the documentation here:  https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/configuring/dispatcher-c...

Hope that helps!

Regards,

Santosh

Santosh Sai
edufcAuthor
New Participant
July 12, 2022

Hi @santoshsai , thanks for reply.

I already tried to add in all the configurations that involve the dispatcher header, including /clientheaders and none works.

As I configured a reverse proxy like the example below, the dispatcher does not send the request to the AEM instance, it makes the request to the configured endpoint itself.

<IfModule mod_proxy.c>
	SSLProxyEngine on   		

	ProxyPass /home https://domain/home/
	ProxyPassReverse /home https://domain/home/	
</IfModule>

When I do this same test with the local dispatcher, I have no problem, all response headers are returned. Only in the Adobe Cloud that the SET-COOKIE header is removed and all other custom headers, which are not even configured in the dispatcher files, are sent to the browser.

edufcAuthorAccepted solution
New Participant
July 25, 2022

Just an update. This problem is internal to Adobe's infrastructure, it was necessary to open a ticket and they are still analyzing it.

No deadline for resolution.