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

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

  • September 13, 2019
  • 18 replies
  • 12452 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

Mayank_Gandhi
Adobe Employee
Adobe Employee
September 13, 2019

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

Level 2
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
Adobe Employee
Adobe 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?

Adobe Employee
September 13, 2019

Is there a dispatcher in front of the AEM?

Level 2
September 13, 2019

We are not using any proxy server.

Adobe Employee
September 13, 2019

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

Level 2
September 13, 2019

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

Level 2
September 13, 2019

we are using the publish instance to publish our content.

Mayank_Gandhi
Adobe Employee
Adobe Employee
September 13, 2019

How do you start your Publish and how is the domain name mapped to this Publish machine?

Adobe Employee
September 13, 2019

Try to find a node that represents your form and set an explicit ACL read for an anonymous user.