ansible / django-ansible-base

Apache License 2.0
18 stars 49 forks source link

Alter how we detect username from a social authenticator #622

Closed john-westcott-iv closed 5 days ago

john-westcott-iv commented 1 month ago

In playing around with social auths, some of them don't seem to have a way to remap attributes to what we need (like username) but there is a built in function that gets an "ID_KEY". This change will attempt to get the ID_KEY for an authenticator and then fallback to our expected username.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud

sonarcloud[bot] commented 5 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarQube Cloud