I'm trying to implement Apple SignIn. I use social_core.backends, AppleOAuth2 (https://gist.github.com/aamishbaloch/2f0e5d94055e1c29c0585d2f79a8634e).
frontend sends request to apple, recieves GET-response and sends POST with access_token to the backend (url which calling views.AppleOAuth2)
And backend gets this error:
Traceback (most recent call last):
File "/var/.../env/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/var/.../env/lib/python3.7/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/..../env/lib/python3.7/site-packages/social_django/__init__.py", line 15, in fake_init
original_init(self, strategy or load_strategy(), *args, **kwargs)
File "/var/.../env/lib/python3.7/site-packages/social_core/backends/base.py", line 24, in __init__
self.data = self.strategy.request_data()
AttributeError: 'WSGIRequest' object has no attribute 'request_data'
How should I solve this problem?