Configuring Authentication for AEM Cloud Gated Content | Community
Skip to main content
November 10, 2023
Solved

Configuring Authentication for AEM Cloud Gated Content

  • November 10, 2023
  • 1 reply
  • 1007 views

Hello!

I'm currently working on implementing authentication-required pages in AEM Cloud. I've successfully configured the Authentication Requirement in the page properties on my author instance. However, when attempting to log in on my publish instance, I encounter a 404 error. This issue seems to be linked to the fact that it's trying to log in using the URL "/libs/granite/core/content/login.html," and access to this route is not enabled on my publish instance.

I'm seeking guidance on how to modify the settings to enable access to this route so that I can effectively create gated content in AEM Cloud. Any insights or solutions would be greatly appreciated!

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

Hi @victorphp 
The /libs/ path are blocked by default via dispatcher, you must check the dispatcher filter configuration to allow access to /libs/granite/core/content/login.html 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
November 10, 2023

Hi @victorphp 
The /libs/ path are blocked by default via dispatcher, you must check the dispatcher filter configuration to allow access to /libs/granite/core/content/login.html 

Arun Patidar
VictorPHPAuthor
November 10, 2023

Thank you! It worked perfectly.

kautuk_sahni
Community Manager
Community Manager
June 7, 2024

@victorphp We hope you found the AEM community valuable. We anticipate your return as either a learner or a contributor. The community benefits from SMEs like you. Please ask your AEM peers to join and contribute. Happy AEM learning!

Kautuk Sahni