I have a website with a log in option available. If a user logs in (using an external login service provider say Janrain), the user will see some premium content on the site. Otherwise these premium content will not be available to anonymous user(s).
For e.g. say I have a component that lists down some PDF files on the site. However with a logged in user, component will render/provide some additional PDFs(premium content).
What should be the design for a requirement like this?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Medhik,
You need three task
1. Create user in aem after authentication.
2. Make the premium content CUG protected &
3. link component to get data from json.
Thanks,
Views
Replies
Total Likes
You probably need to authenticate user using Custom Auth Handler
Found this, AEM integration with Janrain
https://rmengji.wordpress.com/2012/12/11/janrain-integration-with-cq/
On your components, you can have check for user logged in behavior.
Hope it helps...
Views
Replies
Total Likes
Hi Medhik,
You need three task
1. Create user in aem after authentication.
2. Make the premium content CUG protected &
3. link component to get data from json.
Thanks,
Views
Replies
Total Likes
Views
Likes
Replies