Anonymous Access Not Enabled Need to Log Into AEM To View Public Content | Community
Skip to main content
New Participant
September 13, 2019
Question

Anonymous Access Not Enabled Need to Log Into AEM To View Public Content

  • September 13, 2019
  • 18 replies
  • 12450 views

Hi,

We have an iFrame that points to a AF Form, and we are running into the issue of always having to log in to see the form.  We tried going to the form directly from a machine that's not localhost and we get the log in prompt before we can access any page.

What we want is to have anonymous access so that the iFrame won't be prompted for a log in, the form is meant for public access.  We've already set sling Authentication Service to allow Anonymous access, but it still doesn't work.  Please advise.

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

18 replies

New Participant
September 13, 2019

we are using the publish instance to publish our content.

New Participant
September 13, 2019

I am not sure what a dispatcher is, but our setup is just the Author and Publish instance.  Pretty simple setup.

Employee
September 13, 2019

so you are not using AEM publish instance. just an author instance in which you have enabled anonymous access?

New Participant
September 13, 2019

We are not using any proxy server.

Employee
September 13, 2019

Is there a dispatcher in front of the AEM?

Mayank_Gandhi
Employee
September 13, 2019

Check the browser console for network traces, if the server is being hit correctly. Is there any proxy server in place?

New Participant
September 13, 2019

no we are using the publish URL we were troubleshooting this issue before we posted.  It seems to work on the localhost, but when we tried to access it from a remote machine we get the log in prompt.

Mayank_Gandhi
Employee
September 13, 2019

In an iframe you need to embed the URL of published form. It appears you are using the Author URL.