Hi @mira_r ,
Yes, that happens when you do not sync the HMAC keys over all instances. You are just couple of steps away!
Every instance is unique and generates a different encrypted key. So the ideal scenario is, we have to use the same key for all authors and publishers belong to one environment.St...
@edeluyas
Your POST request is being filtered and restricted by the “Apache Sling Referrer Filter” and “Adobe Granite CSRF Filter”. By default, the Apache Sling Referrer Filter blocks any incoming POST requests, and the Adobe Granite CSRF Filter blocks any incoming POST requests without the CSRF-To...
Hi @prasanth96karats ,
You can overlay the below design dialog where all such Youtube configurations are in place for core embed component.
/apps/core/wcm/components/embed/v1/embed/embeddable/youtube/cq:design_dialog/items
Use Delegation Pattern for Sling Models[0] where logic can be extended by us...
@shoib_I Well, that is expected! My analysis as below,
As per above command for generating project - You missed adding one property ie. aemVersion - per documentation here: https://github.com/adobe/aem-project-archetype by default it is taken as cloud
Please run below command as per your AEM instan...
Hi @shoib_I ,
Could you please tell us what is the exact version of AEM you are using and what command you have been used to generate project?
Also, have you installed latest Service Pack?
Regards,
Santosh
@edeluyas - Try with doGet() instead doPost() The doPost() method in servlets is used to process the HTTP POST requests. It is used to submit the data from the browser to the server for processing. The data submitted with POST method type is sent in the message body so it is secure and cannot be see...
@edeluyas I can see in payload ":redirect" is the actual page url which supposed to be passed in your code
Can you try printing the variable redirectUrl
String redirectUrl = request.getParameter(REDIRECT_URL);
and see what is the value you are getting.
Hi @edeluyas,
Can you let us know,
How/What did you set redirectUrl parameter in form?What is the value in "redirectUrl"?
I can able to redirect it.
package com.mysite.core.servlets;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sling.api.SlingHttpServletResponse;import org.ap...