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
Apple social login #226
Comments
+1 to the request |
+1 |
Please don't spam subscribers with +1 replies and use emoji response to the OP, thanks. |
This should now be possible with Python Social Auth - Core 3.3.0 ( You can find the backend named |
perfect! |
is there an implementation example ? im trying to implement this on a django rest app but for some reason the the response that arrives to the apple backend in the do_auth method is empty, any help would be appreciated |
I had to do it myself, maybe it will help you. `class AppleOAuth2(BaseOAuth2):
|
That's actually pretty helpful, thank you so much! but that means that the default backend "apple-id" didn't worke for you, right? |
@MiltonMilton when I doing this the default backend "apple-id" did not yet exist in this lib. You can debug default backend) |
Hi all, Has this been resolved? Been trying the default apple-id version though it doe's not seem to work. Keep getting model errors. Its working great for Facebook and google logins. If you implemented, which of the solutions above did you use? Many Thanks |
I'm getting this error all of a sudden (it was working fine previously): During handling of the above exception, another exception occurred: |
@jfbeltran97 I am getting the same error. Have you found a solution? Thanks. |
You have set the right audience? |
My django API server allows to login with social access token. In case of SIWA I was sending wrong token from iOS to django API server. Now I am sending the corrent JWT |
@ramonyaskal @adorum I haven't made any changes and as I said, it was working fine previously. I thought maybe it was a problem with the apple servers. |
Share my case for your reference: Perhaps check your SOCIAL_AUTH_APPLE_ID_CLIENT First, make sure it is the correct Service IDs. If yes, check your social-auth-core version and your SOCIAL_AUTH_APPLE_ID_CLIENT format, string or list or else? SOCIAL_AUTH_APPLE_ID_CLIENT is the parameter for audience of JWT decode In social-auth-core<=3.3.3, In social-auth-core>=3.4.0, If SOCIAL_AUTH_APPLE_ID_AUDIENCE existed, package use it to do audience, and allow you set string or list Yes, SOCIAL_AUTH_APPLE_ID_CLIENT will be put into a list. In other words, you can't set list for it. It will be converted to a nested list and of course has error 'Invalid audience'. In my case, I set SOCIAL_AUTH_APPLE_ID_CLIENT = ["com.aaa", "com.bbb", "com.ccc"] in previous version and fail after 3.4.0. I use SOCIAL_AUTH_APPLE_ID_AUDIENCE now, and social-auth-core is 4.0.2. It's OK FYI |
When is possible to implement the social login with apple sign in?
The text was updated successfully, but these errors were encountered: