Skip to content

Login with Apple from iOS to API #41

Description

@joey-barbier

Hello,

I need your lights, my users login from an iOS device, after using "sign in with Apple" I get a token so I send it to my API but when I try to use $client->fetchUserFromToken($accessToken); I get an empty user.

League\OAuth2\Client\Provider\AppleResourceOwner {#541
  #response: array:2 [
    "email" => null
    "isPrivateEmail" => null
  ]
  #resourceOwnerId: null
  -email: null
  -isPrivateEmail: null
}

Do you have a solution?

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions