# Apple review requirement for firstName and lastName

**URL:** <https://community.auth0.com/t/apple-review-requirement-for-firstname-and-lastname/92661>\
**Category:** Get Help\
**Tags:** sign-in-with-apple, actions, rules\
**Created:** [October 18, 2022, 11:37pm UTC](https://community.auth0.com/t/apple-review-requirement-for-firstname-and-lastname/92661 "2022-10-18T23:37:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mobileapps](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mobileapps/32/33313_2.png) [@mobileapps](https://community.auth0.com/u/mobileapps)\
**Post date:** [October 18, 2022, 11:37pm UTC](https://community.auth0.com/t/apple-review-requirement-for-firstname-and-lastname/92661/1 "2022-10-18T23:37:42Z")

</div>

I had originally solved this problem with the information here [LastName FirstName in token with apple-sign-in](https://community.auth0.com/t/lastname-firstname-in-token-with-apple-signin/53076/5).

The name is being returned as an email address, however the apple documentation states we should be able to receive firstName and lastName. The scopes I have requested are: “openid profile name email offline\_access”

When tested again yesterday, the fields are no longer being filled, they are undefined. I have a support ticket that I reopened (00872758) - we are desperate for an answer. Last time it took a week to get a response.

I tried transitioning the rule across to an action, but still no success. I reiterate, this was working last week. What am I missing?

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [December 26, 2022, 10:16pm UTC](https://community.auth0.com/t/apple-review-requirement-for-firstname-and-lastname/92661/5 "2022-12-26T22:16:55Z")

</div>

Hi @mobileapps ,

Welcome to the Auth0 Community!

I noticed that you opened a support ticket for this issue. Here is the solution provided by our DSE. Hopefully, it will be beneficial to other community members.

To test the Apple social connection with a user that was previously deleted from Auth0, you will also need to reset the Apple Id access for this specific app in Settings (Settings \> Apple ID \> Password & Security \> Apps using Apple ID) in their Apple device, so next time will start with a new user, and **Apple will send the first\_name and last\_name values again**.

> While testing using actions, I did try hard-coding in a first\_name and family\_name, just to see if I could populate the fields - which seemed to be a mistake. as all subsequent requests began returning the hard coded value, even once that was removed.

That is expected, if Apple wasn’t returning a different value Auth0 would have maintained the hardcoded values in the user profile.

Please try resetting the Apple Id access for this specific app for your test user, delete them from Auth0, add the Rule for mapping the first\_name and last\_name attributes, and test again.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 9, 2023, 10:17pm UTC](https://community.auth0.com/t/apple-review-requirement-for-firstname-and-lastname/92661/6 "2023-01-09T22:17:19Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
