So I am trying to get the username from my user object thats retried with the useAuth0 hook.
function (user, context, callback) {
context.idToken['username'] = user.username;
return callback(null, user, context);
}
That is the rule I am creating on auth0, but I get an error.
How should I then name the property?
I want to access it on the front end to display it on my profile page.
Thanks
