migrating to hosted login -- how to get email and user_metadata scopes?

![alt text][1]Hello,
I’m trying to migrate from Lock 10 using AngularJS w/ a Laravel API backend to a hosted login page solution with backend API.

I used to get the user’s metadata by passing in “openid email user_metadata” as the scope parameter under the lock options.

When I tried setting up a new hosted login test app, it doesn’t seem to work. On the backend, when I decode the JWT, I’m not able to get the email and user_metadata info like I did before.

How can I get the email and user_metadata info like I did before?


As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.