Adobe Granite Cross-Origin Resource Sharing Policy cannot save changes | Community
Skip to main content
Level 2
March 1, 2023
Solved

Adobe Granite Cross-Origin Resource Sharing Policy cannot save changes

  • March 1, 2023
  • 1 reply
  • 1224 views

Hello everyone. 

 

I got some issues saving data inside Adobe Granite Cross-Origin Resource Sharing Policy in publish instance(

  • http://<host>:<port>/system/console/configMgr > Adobe Granite Cross Origin Resource Sharing Policy

).

I put an asterisk in the field "Allowed Origins" to allow any and saved but then came back to it and saw the field empty again. Any idea why it is behaving like that and what to do to save changes init? Thanks

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 Rohit_Utreja

Hi @olegarg,

When this config has been saved on felix console, it will be saved below the Adobe Granite Cross Origin Resource Sharing Policy. Please find attached a screenshot. Could you please check if it is happening the same for you?
could you see this com.adobe.granite.cors.impl.CORSPolicyImpl.... under actual OSGI config?

 

Thanks,

Rohit

1 reply

Rohit_Utreja
Community Advisor
Rohit_UtrejaCommunity AdvisorAccepted solution
Community Advisor
March 1, 2023

Hi @olegarg,

When this config has been saved on felix console, it will be saved below the Adobe Granite Cross Origin Resource Sharing Policy. Please find attached a screenshot. Could you please check if it is happening the same for you?
could you see this com.adobe.granite.cors.impl.CORSPolicyImpl.... under actual OSGI config?

 

Thanks,

Rohit

olegargAuthor
Level 2
March 1, 2023

Hi @rohit_utreja ,

 

Thank you very much for your reply. You are right. It gets saved underneath that section. I just realized it got many of them saved there. So, I will need to delete them and leave one only, I guess. Thank you.