Allowing anonymous access is not working | Community
Skip to main content
Level 4
Dec 6, 2017 11:26 AM UTC

Allowing anonymous access is not working

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.

11 replies

New Participant
May 8, 2019 12:34 PM UTC

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

Translate
MC_Stuff
Level 10
Dec 15, 2017 7:52 AM UTC

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,

Translate
Level 2
Oct 16, 2019 12:32 PM UTC

Can you exaplin how to fix them ?

Translate
smacdonald2008
Level 10
Dec 6, 2017 4:34 PM UTC

Are you following the DOC exactly as written?

Translate
Level 4
Dec 6, 2017 4:40 PM UTC

Yes I am

Translate
smacdonald2008
Level 10
Dec 6, 2017 5:00 PM UTC

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

Translate