The client portal is off - turn it on in
Modules.
= settingsSectionStart('entra', 'Microsoft Entra', 'A contact with portal access signs in with their Microsoft 365 work account - its email has to be theirs in ITFlow. Register an app in Microsoft Entra for accounts in any organisation\'s directory, with the redirect address below, and put its ID and a secret here.') ?>
= $config_azure_client_id ? 'Set up' : 'Not set up' ?>
= $config_azure_client_id ? 'The portal\'s sign-in page offers Sign in with Microsoft.' : 'Contacts sign in with a password.' ?>
= settingsInput('config_azure_client_id', $config_azure_client_id, ['icon' => 'fa-fingerprint', 'maxlength' => 200, 'placeholder' => 'e721e3b6-01d6-50e8-7f22-c84d951a52e7',
'help' => 'From the app\'s Overview. Empty turns signing in with Microsoft off, and forgets the secret.']) ?>
= settingsInput('config_azure_client_secret', '', ['icon' => 'fa-key', 'type' => 'password', 'maxlength' => 200, 'autocomplete' => 'new-password',
'placeholder' => $secret_saved ? 'Saved - type a new one to replace it' : 'From Certificates & secrets',
'help' => 'Its Value, not its ID. A secret runs out - put the new one here before it does.']) ?>
= settingsSectionEnd() ?>
= settingsSaveBar('edit_identity_provider') ?>