Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication.
Map 'properties' is allowed not to exist as user information in a social login. I've experienced this case so for a while some users were abandoned ever suffering from the unavailability for Kakao social login.
This issue has been recognized by the provider, and is guided to use the latest provider's API. But I think some handling code is still needed for compatibility for the old version of that API.
I suggest the changed lines of code below can fix this issue.
if 'properties' in data: nickname = data['properties'].get('nickname') else: nickname = None
Map 'properties' is allowed not to exist as user information in a social login. I've experienced this case so for a while some users were abandoned ever suffering from the unavailability for Kakao social login.
https://github.com/pennersr/django-allauth/blob/543289e0231244a1a64ed0699470956c396ad68f/allauth/socialaccount/providers/kakao/provider.py#L29
This issue has been recognized by the provider, and is guided to use the latest provider's API. But I think some handling code is still needed for compatibility for the old version of that API.
I suggest the changed lines of code below can fix this issue.
if 'properties' in data: nickname = data['properties'].get('nickname') else: nickname = None