Should there be a envar in template.env for auth_property_name in Azure AD (Entra) authentication section?
It is coded in app/Plugin/AadAuth/Controller/Component/Auth/AadAuthenticateAuthenticate.php
self::$auth_property_name = Configure::read('AadAuth.auth_property_name') ?? 'userPrincipalName';
public function __construct()
{
self::$client_id = Configure::read('AadAuth.client_id');
self::$ad_tenant = Configure::read('AadAuth.ad_tenant');
self::$client_secret = Configure::read('AadAuth.client_secret');
self::$redirect_uri = Configure::read('AadAuth.redirect_uri');
self::$auth_provider = Configure::read('AadAuth.auth_provider');
self::$auth_provider_user = Configure::read('AadAuth.auth_provider_user');
self::$misp_user = Configure::read('AadAuth.misp_user');
self::$misp_orgadmin = Configure::read('AadAuth.misp_orgadmin');
self::$misp_siteadmin = Configure::read('AadAuth.misp_siteadmin');
self::$check_ad_groups = Configure::read('AadAuth.check_ad_groups');
self::$auth_property_name = Configure::read('AadAuth.auth_property_name') ?? 'userPrincipalName';
$this->Log = ClassRegistry::init('Log');
$this->Log->create();
$this->settings['fields'] = ['username' => 'email'];
}
Should there be a envar in template.env for auth_property_name in Azure AD (Entra) authentication section?
It is coded in app/Plugin/AadAuth/Controller/Component/Auth/AadAuthenticateAuthenticate.php