The Htpasswd currently enforces the username to the uid attribute.
|
$attributes = array_merge(['uid' => [$username]], $this->attributes); |
Ideally this attribute should be user configurable.
The documentation recommends to use urn:oasis:names:tc:SAML:2.0:attrname-format:uri for attribute's NameFormat but forcing the attribute name to uid goes against this.
The
Htpasswdcurrently enforces the username to theuidattribute.simplesamlphp-module-authcrypt/src/Auth/Source/Htpasswd.php
Line 100 in 689b2ee
Ideally this attribute should be user configurable.
The documentation recommends to use
urn:oasis:names:tc:SAML:2.0:attrname-format:urifor attribute'sNameFormatbut forcing the attribute name touidgoes against this.