Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Enabling allow origin -> CORS (Adobe Granite Cross-Origin Resource Sharing Policy) config is not allowing to login into AEM instance

Avatar

Level 1

Hi,

I have added a domain in the "Allowed Origins" property in the com.adobe.granite.cors.impl.CORSPolicyImpl config and it locked out the AEM on-prem publish instance running on 6.5.5. I tried to login several times but no luck. I need this property to be updated and make the login work. Could someone please assist me here? 

Here is my config:

org.apache.felix.configadmin.revision:=L"2"
allowedpaths=[ \
".*", \
]
alloworigin=[ \
"https://www.trialexp.com", \
]
alloworiginregexp=[ \
"", \
]
exposedheaders=[ \
"", \
]
maxage=I"1800"
service.factoryPid="com.adobe.granite.cors.impl.CORSPolicyImpl"
service.pid="com.adobe.granite.cors.impl.CORSPolicyImpl.e23faca2-72d5-4964-9a97-f4608ee43458"
supportedheaders=[ \
"Origin", \
"Accept", \
"X-Requested-With", \
"Content-Type", \
"Access-Control-Request-Method", \
"Access-Control-Request-Headers", \
]
supportedmethods=[ \
"GET", \
"HEAD", \
"POST", \
]
supportscredentials=B"true"

0 Replies