Arguments
oAuthRequestAppleSchemaInput
OAuthRequestAppleSchemaInputDescribes the request structure to login or register in ios app using apple account credentials.
platform
StringID of the application.
Response
register_token
StringUnique registration token for user.
user
UserDetailDescribes the user details structure.
user_exists
BooleanBoolean which specifies if user is registered.
Mutation
1mutation loginWithAppleIOS(2 $oAuthRequestAppleSchemaInput: OAuthRequestAppleSchemaInput3 $platform: String4) {5 loginWithAppleIOS(6 oAuthRequestAppleSchemaInput: $oAuthRequestAppleSchemaInput7 platform: $platform8 ) {9 register_token10 user {11 id12 account_type13 active14 application_id15 created_at16 dob17 first_name18 gender19 last_name20 meta21 profile_pic_url22 updated_at23 user_id24 username25 external_id26 rr_id27 }28 user_exists29 }30}
Try it
Input Variables
1{2 "oAuthRequestAppleSchemaInput": {3 "oauth": {4 "identity_token": "identity_token"5 },6 "profile": {7 "first_name": "first_name",8 "full_name": "full_name",9 "last_name": "last_name"10 },11 "user_identifier": "user_identifier"12 },13 "platform": "platform"14}
Response
1{2 "loginWithAppleIOS": {3 "register_token": "register_token",4 "user": {5 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",6 "account_type": "account_type",7 "active": true,8 "application_id": "application_id",9 "created_at": "created_at",10 "dob": "dob",11 "first_name": "first_name",12 "gender": "gender",13 "last_name": "last_name",14 "meta": {},15 "profile_pic_url": "profile_pic_url",16 "updated_at": "updated_at",17 "user_id": "user_id",18 "username": "username",19 "external_id": "external_id",20 "rr_id": "rr_id"21 },22 "user_exists": true23 }24}
Was this section helpful?