Lock Web - Get JWT access token and id token to call API

As mentioned above, at this time Lock embedded within your client application does not yet fully support what you intend to do. However, Auth0.js is supported so if you have issues with that the recommendation would be to post it as a separate question.