Here you will find notes/solutions/etc about using a DFW instance in private/public config.
Azure Authentication
Users must log in to view private pages in the DFW. Login authenticates against the Azure web application, which controls access. You will need to provide a list of domain URLs to your Azure administrator to use this authentication process.
Examples:
https://test-mccd-sc-intra.pantheonsite.io/openid-connect/azure_ad (testing and building)
https://www.scottsdalecc.net/openid-connect/azure_ad (employees)
https://live-mccd-sc-intra.pantheonsite.io/openid-connect/azure_ad (developer login)
Login / Logout
Employees who log in to view private pages will not see the Drupal administration menu so will need a way to log out of the website. One easy way to do this is to add Login and Logout links to the Utility menu.
Home > Administration > Structure > Menus > Utility Bar Edit Menu > Add link
Add these links to the utility bar menu:
Login URL: /login
Logout URL: /user/logout
Style as a button: You can add a background color to these links by selecting the preferred color in the Attributes menu.
The example below shows that prior to employee login only the blue Login button displays in the utility menu.
The example below shows that after the employee login, the black Logout button displays in the utility menu.
Note: After the employee logs out of the DFW site, the Logout button will disappear.
Search
The search feature provides an internal search of both public and private pages. Search will not reveal private page results unless the employee is already logged into the DFW website. The example below shows the search results when the words human resources are entered into the search box.
The description beneath the page title and breadcrumb is sourced from the Description field in Meta Tags. The example below shows the text entered in the meta tags description field.