# Angular-Lock 2.0.1 / 2.02 are no longer returning user\_metadata

**URL:** <https://community.auth0.com/t/angular-lock-2-0-1-2-02-are-no-longer-returning-user-metadata/6669>\
**Category:** Get Help\
**Tags:** angular-lock, user-metadata\
**Created:** [May 18, 2017, 11:53pm UTC](https://community.auth0.com/t/angular-lock-2-0-1-2-02-are-no-longer-returning-user-metadata/6669 "2017-05-18T23:53:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jon2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jon2/32/3391_2.png) [@jon2](https://community.auth0.com/u/jon2)\
**Post date:** [May 18, 2017, 11:53pm UTC](https://community.auth0.com/t/angular-lock-2-0-1-2-02-are-no-longer-returning-user-metadata/6669/1 "2017-05-18T23:53:40Z")

</div>

Hi,

I have been running my Angular SPA for the last few months on angular-lock 2.0.1 and everything has been working as expected - i.e returning user\_metadata by calling the `lock.getUserInfo(accessToken, function(err, profile)` but I managed to accidentally upgrade to version 2.0.2 and now the user\_metadata is not being returned.

I downgraded back to 2.0.1 but this didn’t resolve the problem. Can anyone shed any light on breaking changes in 2.0.2 or the related auth0 APIs that would be causing this?

Thanks.

Jon

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [May 23, 2017, 10:57am UTC](https://community.auth0.com/t/angular-lock-2-0-1-2-02-are-no-longer-returning-user-metadata/6669/2 "2017-05-23T10:57:31Z")

</div>

Can you please confirm what version of Lock you are using. You can test the /userinfo endpoint to see the response from the API, and see whether the user\_metadata is being returned:  
[https://auth0.com/docs/api/authentication#get-user-info](https://auth0.com/docs/api/authentication#get-user-info)

---

<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:54am UTC](https://community.auth0.com/t/angular-lock-2-0-1-2-02-are-no-longer-returning-user-metadata/6669/3 "2018-03-02T05:54:00Z")

</div>


