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?