Welcome to the Auth0 Community!
Thanks for the thorough question.
The service not found error indicates that the service for which you are requesting a token (http://localhost:5000) hasn’t been registered with Auth0. Have you set up an API in the Auth0 dashboard and set the correct identifier?