Getting auth0 username from React auth0Client

Hello there, I’m new to all of this so please point me in the right direction if I’m lost.

I followed this tutorial for creating a react-app with Auth0, and everything seems to be running fine, but I am trying to get access to a user’s username and can’t seem to get it to work.

I created the Auth class and am using an instance of it as auth0Client as per the tutorial, and when I run auth0Client.getProfile() I can see the user’s name(email), nickname, picture, updated_at, and iss. How would I go about editing the code provided in this tutorial to also get the user’s username?

Sorry if this is vague, I’m feeling a bit lost.