I am attempting to follow the quickstart for a Regular Web App with Node JS / passport-auth0. However, when I configure my database to require a username the username does not appear to returned to the application from auth0. For example when attempting to output the profile data from req.user in the /user route as in the quickstart tutorial. I want to be able to display the username within the application e.g. "Posted by "
I have configured my database connection to require a username. The signup form requires the username field and users are able to login with their username in addition to their email address as expected. I can see the username for that user within the Auth0 admin dashboard. But my application itself does not seem to have access to the username.
I thought this would be pretty straightforward - I don’t understand what the issue could be.