Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

View pages in Author instance without authentication

Avatar

Level 6

Is there anyway to view pages in Preview Mode in author instance without authentication?

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Ehemaliges Community-Mitglied

What is the reason why you want to enable this anonymous access?

I ask mainly because I recall hearing a very similar question in the past. That team was asking the question because they wanted to provide a way to have pages reviewed internally before publishing them publicly, but did not want to require people to log into the author system to do so (this seemed like too much of a burden on the reviewers).

The solution they came up with was to set up a staging Publish instance internally, and they built a custom workflow which replicated the content to the staging instance. So, when they wanted to publish a page for review, instead of clicking Activate, they ran the "Publish to Stage" workflow on that page.

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten

Avatar

Korrekte Antwort von
Ehemaliges Community-Mitglied

What is the reason why you want to enable this anonymous access?

I ask mainly because I recall hearing a very similar question in the past. That team was asking the question because they wanted to provide a way to have pages reviewed internally before publishing them publicly, but did not want to require people to log into the author system to do so (this seemed like too much of a burden on the reviewers).

The solution they came up with was to set up a staging Publish instance internally, and they built a custom workflow which replicated the content to the staging instance. So, when they wanted to publish a page for review, instead of clicking Activate, they ran the "Publish to Stage" workflow on that page.

Avatar

Employee

Viewing pages such as login page is possible in author mode by configuring the page path in org.apache.sling.engine.impl.auth.SlingAuthenticator for any Resource you want to access without authentication.

example 

sling.auth.requirements="[+/,-/libs/granite/core/content/login

Avatar

Community Advisor

You can set up anonymous user access where you need to modify Sling Authentication service in felix console with the user you want.

There must be a user which exist in the system, I am not sure anything exists without authentication.

Avatar

Level 10

If you are using webserver (dispacther) ,then  added basic auth for a canned "preview user"  and forced wcmmode=disabled and sent the request to the CQ Author instance.   Make sure to discuss with sales team on licence terms.