# Accessing user profile

**URL:** <https://community.auth0.com/t/accessing-user-profile/9017>\
**Category:** Get Help\
**Tags:** user-profile, profile\
**Created:** [December 19, 2017, 2:05am UTC](https://community.auth0.com/t/accessing-user-profile/9017 "2017-12-19T02:05:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![restlessankur](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@restlessankur](https://community.auth0.com/u/restlessankur)\
**Post date:** [December 19, 2017, 2:05am UTC](https://community.auth0.com/t/accessing-user-profile/9017/1 "2017-12-19T02:05:19Z")

</div>

when i try to access user profile, it send me

```
getProfile(cb) {
  //let accessToken = localStorage.getItem("accessToken");;
  console.log("inside getprofile")
  let accessToken = this.getAccessToken();
  this.auth0.client.userInfo(accessToken, (err, profile) => {
    if (profile) {
      console.log("profile is ",profile)
      this.userProfile = profile;
    }
    //cb(err, profile);
    console.log("err is ",err)
  });
}

profile is sub:"auth0|5a340b94197c4f68f0083e3a"

```

I was expecting email in user profile. Can someone tell me , whats the issue here?

---

<div class="post-metadata">

**Author:** ![priya.sharma.9362](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/priya.sharma.9362/32/14302_2.png) [@priya.sharma.9362](https://community.auth0.com/u/priya.sharma.9362)\
**Post date:** [December 19, 2017, 3:32pm UTC](https://community.auth0.com/t/accessing-user-profile/9017/2 "2017-12-19T15:32:12Z")

</div>

You might get some help from this

[[Cannot get profile information using userInfo() - Auth0 Community](http://community.auth0.com/questions/6372/cannot-get-profile-information-using-userinfo)] ([Cannot get profile information using userInfo() - Auth0 Community](http://community.auth0.com/questions/6372/cannot-get-profile-information-using-userinfo))

---

<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:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/accessing-user-profile/9017/3 "2018-03-02T05:57:51Z")

</div>


