Here you will find notes/solutions/etc about using a DFW instance in private/public config.
Azure Authentication
Employees must log in to view private pages in DFW. Login authenticates against the Azure web application, which controls user 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.
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.
Public/Private Pages
Private pages require user authentication to view. To make a page a Private page, enable the checkbox next to Private.