# Getting User Info from Auth, provided by Apple

**URL:** <https://community.auth0.com/t/getting-user-info-from-auth-provided-by-apple/150083>\
**Category:** Get Help\
**Tags:** user-profile, user-management\
**Created:** [October 18, 2024, 9:22am UTC](https://community.auth0.com/t/getting-user-info-from-auth-provided-by-apple/150083 "2024-10-18T09:22:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleh.rostovtsev](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/oleh.rostovtsev/32/60822_2.png) [@oleh.rostovtsev](https://community.auth0.com/u/oleh.rostovtsev)\
**Post date:** [October 18, 2024, 9:22am UTC](https://community.auth0.com/t/getting-user-info-from-auth-provided-by-apple/150083/1 "2024-10-18T09:22:09Z")

</div>

Trying to get information from registered account, using Apple account. Data literally exists in Json data file. But returns null for the folowing. Would be appreciated for help.  
p.s If sign u with google, receive data with no troubles.

```
  Auth0 auth0 = Auth0(auth0Domain, auth0ClientId);

  // Log in the user
  var credentials =
      await auth0.webAuthentication(scheme: auth0AppScheme).login(
    scopes: {'openid', 'profile', 'email', 'offline_access'},
  );

  // Get the user's information using the access token
  final UserProfile userInfo = credentials.user;

  print(userInfo.email);
  print(userInfo.givenName);
  print(userInfo.familyName);

```

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [January 31, 2025, 11:32pm UTC](https://community.auth0.com/t/getting-user-info-from-auth-provided-by-apple/150083/4 "2025-01-31T23:32:34Z")

</div>

Hi @oleh.rostovtsev

Welcome to the Auth0 Community!

I am sorry about the late reply to your inquiry.

Please refer to this [community post](https://community.auth0.com/t/auth0-apple-id-login-doesnt-include-given-name-or-family-name/111065) regarding a similar issue that you are facing. It appears that the given\_name and family\_name attributes are not accessible in a Dev environment but they are returned in a Prod however.

Let us know if you have any other questions regarding the matter.

Kind Regards,  
Nik

---

<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:** [February 14, 2025, 11:33pm UTC](https://community.auth0.com/t/getting-user-info-from-auth-provided-by-apple/150083/5 "2025-02-14T23:33:24Z")

</div>

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