How do I fetch the username of the current user?


I’ve set up a native app with a username/password DB requiring usernames along with emails. I can authenticate just fine but I want to show the users username on the mobile UI. I can’t seem to be able to get it in the id_token like I would the email address and the name. Is there maybe a scope needed for this that I’m missing? Any help would be appreciated.


Figured it out. I can add the username to the id_token via rules. :+1:

1 Like

Glad you have figured it out and thanks for sharing with the rest of community!