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

Fix auto remove unicode characters in username #388

Merged
merged 1 commit into from
Sep 22, 2019

Conversation

tinhien11
Copy link
Contributor

Unicode in username should be covert to ASCII is better than remove

@tinhien11 tinhien11 changed the title Fix auto remove unicode charaters in username Fix auto remove unicode characters in username Aug 18, 2019
@omab omab merged commit 8645539 into python-social-auth:master Sep 22, 2019
@omab
Copy link
Contributor

omab commented Sep 22, 2019

Love it, thanks!

@ryanpetrello
Copy link

ryanpetrello commented Mar 25, 2020

@omab are you all aware that Unidecode is GPLv2? This new requirement might affect how/whether downstream open source projects are able to consume social-auth-core.

It also seems problematic in general, given social-auth's BSD licensing.

see: ansible/awx#6410 (comment)

@omab
Copy link
Contributor

omab commented Mar 25, 2020

@tinhien11, this change had to be reverted due to license incompatibilities between python-social-auth (BSD) and unidecode (GLPv2+). I've added an entry in the Use Cases section of the docs on how to accomplish something similar just with configuration: https://python-social-auth.readthedocs.io/en/latest/use_cases.html#improve-unicode-cleanup-from-usernames

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

Successfully merging this pull request may close these issues.

3 participants