Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

eakinpeter
Community profile eakinpeter Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 23-06-2020 8:53:48 AM
Offline
Top badges earned by eakinpeter
Customize the badges you want to showcase on your profile
Re: How to set CORS headers in authoring instance
Avatar
Boost 1
Level 1
eakinpeter
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
eakinpeter
- Adobe Experience Manager
Thanks for the replies folks I have already tried updating the Adobe Granite Cross-Origin Resource Sharing Policy.by setting the Allowed Origins to * (I can restrict this further when I get things working). I disabled authentication by going to http://localhost:4502/system/console/configMgr/org.apache.sling.engine.impl.auth.SlingAuthenticator and checking allow anonymous. We use AEM to define the layout and data that will be used to populate a different website. The result is a json file with in...

Views

528

Like

1

Replies

0
How to set CORS headers in authoring instance
Avatar
Boost 1
Level 1
eakinpeter
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
eakinpeter
- Adobe Experience Manager
Hi all Hopefully someone can help me. Long story short I have created an AEM site that produces json which is then consumed from another site external to AEM. If I request the json directly in the browser everything works fine (http://192.168.1.188:4502/content/testSite/en/home-page.navman.json) however when i request from the external site I get the below CORS issue: Access to XMLHttpRequest at 'http://192.168.1.188:4502/content/testSite/en/home-page.navman.json' from origin 'http://192.168.1.2...

Views

653

Likes

0

Replies

4
Likes from