GriffinLedingham / php-apple-signin

🗝 Decode Apple Sign In client tokens in PHP
BSD 3-Clause "New" or "Revised" License
200 stars 87 forks source link

User creds not returned by $appleSignInPayload->getUser() #28

Open philippenateev opened 3 years ago

philippenateev commented 3 years ago

When trying to get the user credentials the returned string look like : 001234.*****.**** whereas the getEmail() method does return the user email.

BartekDe commented 2 years ago

User credentials retrieved from the token look like 001234.abcdbcbd8ddf4d511117bb11abcdef6.1234 and if your looks similar then it's correct. This is the identifier by which you can determine for example if the same user logged in for the second time.