ansible / django-ansible-base

Apache License 2.0
11 stars 43 forks source link

Properly resolve the AuthenticatorUser for LDAP #492

Closed john-westcott-iv closed 2 months ago

john-westcott-iv commented 2 months ago

When logging in through an LDAP that follows a different path than our development environment we were not properly resolving the gateway username. i.e. should it be the provided username or username-. This updated code will now properly call determine_username_from_uid before calling get_or_create_authenticator_user.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
66.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud