imsweb / django-saml-sp

A Django application for running one or more SAML service providers (SP)
BSD 3-Clause "New" or "Revised" License
15 stars 10 forks source link

Case insensative nameid for authentication #1

Closed ruttenb closed 4 years ago

ruttenb commented 4 years ago

There are use cases when the nameid should be case insensitive for authentication purposes. For example, if a site is authenticating using email as their nameid and email in the system is case insensitive.

We should add an option to the IdP model that specifies whether or not the authentication query should be case insensitive. The query can use an "iexact" query.