Allowing anonymous access is not working | Community
Skip to main content
Level 4
December 6, 2017

Allowing anonymous access is not working

  • December 6, 2017
  • 3 replies
  • 7048 views

In the 'apache sling authentication service' configuration bundle one can specify pages under authentication requirements. You can allow anonymous access of pages here as the dialog states:

I am trying to share asset links to external entities as stated here (Asset link sharing ):

Here is my 'apache sling authentication service' configuration

As you can see I provided 2 absolute url's (not sure if the .html extension is required or not) but this is not working, is still get redirected to the login page. Am I doing something wrong?

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

3 replies

smacdonald2008
Level 10
December 6, 2017

Are you following the DOC exactly as written?

Level 4
December 6, 2017

Yes I am

smacdonald2008
Level 10
December 6, 2017

Another option you can do is share them from Prod. I have done that in past as that seems to work better.

MC_Stuff
Level 10
December 15, 2017

Hi,

Firstly from screenshot the Configuration Binding is not bounded means not getting picked up at all.   Secondly it is configured for white board filter.  Need to fix those first.

Thanks,

Level 2
October 16, 2019

Can you exaplin how to fix them ?

May 8, 2019

Hi Jdruwe

For the configuration to work follow the below steps:

1) Check the Allow Anonymous Access check box

2) In the Authentication requirement provide your content path prefixed by -/+ where -(minus) will remove the authentication for that path and +(plus) will enforce authentication for the specified path. eg: To allow anonymous access for the page at /content/project_name/page in the authentication requirement add the following -/content/project_name/page and to enforce authentication for the same page add +/content/project_name/page