-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Django 4.2.2 breaks the way JSONField behaves #464
Comments
nijel
added a commit
to nijel/social-app-django
that referenced
this issue
Jun 10, 2023
It was introduced in Django 3.1 and social_django already requires Django 3.2. Fixes python-social-auth#464 Fixes python-social-auth#209
#465 should address this, feedback and testing is welcome. |
nijel
added a commit
to nijel/social-app-django
that referenced
this issue
Jun 10, 2023
It was introduced in Django 3.1 and social_django already requires Django 3.2. Fixes python-social-auth#464 Fixes python-social-auth#209
nijel
added a commit
to nijel/social-app-django
that referenced
this issue
Jun 10, 2023
It was introduced in Django 3.1 and social_django already requires Django 3.2. Fixes python-social-auth#464 Fixes python-social-auth#209
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
When using social-app-django's
extra_data
, prior to Django 4.2.2, the extra data was saved as a dict.Actual behaviour
With 4.2.2 it is saved as a string instead.
What are the steps to reproduce this issue?
Perform a normal login using a backend that uses extra data, such as SAML.
Any logs, error output, etc?
With Django 4.2.2, and a stack that look like this:
the code at
social-app-django/social_django/storage.py
Line 24 in 8d0a205
value
is a dict, but is flattened into a string by the new code.save()
then ends up saving a string instead of the dict.See also the bug I originally filed against Django for this at https://code.djangoproject.com/ticket/34644.
Any other comments?
The referenced Django bug contains suggestions from the Django team on what changes might be needed in social-app-django.
The text was updated successfully, but these errors were encountered: