Skip to main content
Level 2
Sep 13, 2019 7:51 PM UTC
Question

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

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
Sep 13, 2019 7:54 PM UTC

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

Translate
Level 2
Sep 13, 2019 7:59 PM UTC

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.

Translate
Mayank_Gandhi
Adobe Employee
Adobe Employee
Sep 13, 2019 8:03 PM UTC

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

Translate
Adobe Employee
Sep 13, 2019 8:04 PM UTC

Is there a dispatcher in front of the AEM?

Translate
Level 2
Sep 13, 2019 8:30 PM UTC

We are not using any proxy server.

Translate
Adobe Employee
Sep 13, 2019 8:32 PM UTC

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

Translate
Level 2
Sep 13, 2019 8:33 PM UTC

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

Translate
Level 2
Sep 13, 2019 8:34 PM UTC

we are using the publish instance to publish our content.

Translate
Mayank_Gandhi
Adobe Employee
Adobe Employee
Sep 13, 2019 8:37 PM UTC

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

Translate
Adobe Employee
Sep 13, 2019 11:39 PM UTC

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

Translate