Apple social connection failing to capture 'name' data correctly

Problem statement

We’re currently testing the “Sign In with Apple” Auth0 login flow, and although the flow itself is successful, we are facing an issue where the name of the Apple user is not being captured accurately. Instead, the email address of the Apple user is being utilized as if it were their name.

Cause

  • The use of Auth0’s development keys may result in the ‘name’ attribute not being accurately captured.

Solution

To address this issue, we recommend utilizing Apple’s development keys and setting the client ID and secret values accordingly.

Additionally, access your Apple ID settings, navigate to Sign-In and Security > Sign in with Apple, and select “Stop using sign in with Apple” for your test account. Then, proceed through the login flow once more to ensure that the name is now being accurately captured as well.