-
Notifications
You must be signed in to change notification settings - Fork 14
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
Social Login: Apple missing errorDetails #20
Comments
Hi, Can you please provide a callID for that error? |
Unfortunately there is no callId in the response when I try to login with apple as a provider. Below you find the whole response I get. |
Do you have a network capture? |
Network capture as in .har file? Using Filddler or Charles. Tal. |
Thanks. gigya.login( callId: 32217a6ef142423e92beddeb6193d3aa |
Are u utilizing the "onPendingRegistration" callback to resolve it? To make sure you are receiving the missing fields make sure you add "missing-required-fields" to your "include" parameter. |
What kind of "consent" parameters are you passing through? |
Terms of Service and other consent statements. |
Thank you. Ill investigate the issue and update as soon as I can. Tal |
Hi, The reason consent is not applied when using social login is because it is not supported via that specific endpoint. |
Thanks! java.lang.UnsupportedOperationException: Operation is not supported for read-only collection |
Social login requires the provider. Additional params may include "lang". Consent params are not supported. Passing empty map to Gigya.login call is not supported cause you require to pass credentials in order to log in. Tal. |
Hi Tal, |
Are you providing "missing-required-fields" include parameter? |
Yes, made no difference. |
I will take this with our backend team and provide an update when available. |
Thanks! |
The issue has been moved to our backend team pipeline. |
If I use gigya.login with Apple as a provider, the response I receive in onPending does not include the missing required fields for registration.
gigya.login(GigyaDefinitions.Providers.APPLE ...)
Social Sign In with Apple:
{"errorCode":206001,"errorMessage":"Account Pending Registration","regToken":"....."}
Social Sign in with Google (expected response containing missing fields):
{ "callId": "...", "errorCode": 206001, "errorDetails": "Missing required fields for registration: country, preferences...", "errorMessage": "Account Pending Registration", "apiVersion": 2, "statusCode": 206, "statusReason": "Partial Content", "time": "2021-04-08T09:06:05.148Z", "newUser": false, "accountInfo": “ ...
The text was updated successfully, but these errors were encountered: