I would like to display my user fullname on profile page. I know I need to set the user somehow, but I do not know how. I do not have the user fullname from login input, I got it in the server. I do not want to use an HTTP GET request for that.
I saw some similar questions, but I could not figure it out on my code.
So, how can I get the user fullname from the server? What do I need to do on service? How can I use the data in the profile component, and how I display the user fullname.
You can add users' full name in the login success response of the server and store it in local storage, so can get the user's full name on any component. Using this you save the additional API call for the full name.