- You have to create a new component that renders input fields for the username and the password. The component also contains a button that calls the /login endpoint when the button is pressed.
- The call from the login component is made using the POST method and a user object is embedded in the body. If the authentication succeeds, the backend sends the token back in the Authorization header.
- The token can be saved to session storage using the sessionStorage.setItem() method.
- The token has to be included in the request's Authorization header.




















































