auth_property_name envar
Open
@0kn0t0K is already working on this.
Since Sep 15, 2026.
enhancement
help wanted
- Dominant language
- Shell
- Stars
- 394
- Forks
- 194
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 9
Description
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'];
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.