Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to allow for case insensitive matching of username #16

Open
GoogleCodeExporter opened this issue Mar 29, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. create a user such as username [email protected]
2. login with SAML under auto_create and have the SAML provider return 
[email protected]
3. You will see that a second user is created and lots of things might go wrong 
in the password base authentication backend of the app if the authentication 
backend is customized to treat username as case insensitive (majority of django 
apps are probably like this!)

We need an option that would allow case insensitive lookup, e.g. 
Users.object.get_or_create(username__iexact=username) vs 
...get_or_create(username=username) to

Original issue reported on code.google.com by [email protected] on 12 Jun 2013 at 4:32

@GoogleCodeExporter
Copy link
Author

Sorry, I stupidly added this under -idp instead of -sp! Can somebody close this 
issue pls?

Original comment by [email protected] on 12 Jun 2013 at 4:35

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant