The DUO plugin needs to better support multiple keys depending on the domain.
For example, users with @somedomain.com should be authenticated separately from users that may be members of @someotherdomain.com.
Right now, there is 1 set of credentials that are passed in. This should be easy to fix by making the credentials a dict for the domain. Then, it should check the domain a user is a member of to pick the correct credentials.
The DUO plugin needs to better support multiple keys depending on the domain.
For example, users with
@somedomain.com
should be authenticated separately from users that may be members of@someotherdomain.com
.Right now, there is 1 set of credentials that are passed in. This should be easy to fix by making the credentials a
dict
for the domain. Then, it should check the domain a user is a member of to pick the correct credentials.