Open DataGreed opened 3 years ago
Or should I add social_core.backends.apple.AppleIdAuth
to AUTHENTICATION_BACKENDS
? What is SOCIAL_AUTH_AUTHENTICATION_BACKENDS
is used for?
This lib is not maintained anymore. Use https://github.com/wagnerdelima/drf-social-oauth2 instead
try to send : identity token from iOS app here it worked with me : { "grant_type": "convert_token", "client_id": "~someid", "client_secret": "~someappsecret", "backend": "apple-id", "token": "identity token", <-- }
@AbdullahEslah Oh my God, thanks a lot! I have been struggling with this for two days and now I found your solution!
@denizdogan
@AbdullahEslah Oh my God, thanks a lot! I have been struggling with this for two days and now I found your solution!
Any Time friend i was like you 9 months ago .. we all here to help each other 😃
Hi, need help to implement apple auth, i try to follow step from @AbdullahEslah but receive error like this.
{ "error": "invalid_request", "error_description": "Invalid backend parameter." }
I've been trying to implement sign in with apple following this article and instructions from the docs, but still struggling.
I have set up everything from the docs, but whenever I make a request to
convert_token
view, I always end up with the following Exception:It's weird - it seems like the
BaseAuth
tries to authenticate the user instead of AppleIdAuth, but my settings seem to be correct in this regard.In my
settings.py
:Example payload I am trying to send to
convert_token
:Am I missing something? Please advise.