We are creating a Drupal 8 website where some sub-pages are only accessible to authenticated users. These sub-pages are accessible from links on other pages. However, we would like to avoid that users, which are not logged in, get the “access denied” page when they click on the link, but they should rather be redirected to the SSO page. Is this possible?
Hi, I do not understand this answer.
I created a Basic Page . But what do you call"hyperlink the login with this URL" ?
When i when to configure “Configuration->Basic site settings” I don’t know what to put ? should I put /node/xxx or something else?
You have enabled the Content Access module and you set it up per content type. The basic page content type was accessible only to authenticated users that’s why the custom access denied page could not be displayed.
I enabled the content access in basic page content type per node and I allowed anonymous users to see this specific node.
Now it works fine. Be careful when you work with access and permission modules.