Angular-Lock 2.0.1 / 2.02 are no longer returning user_metadata

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

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