I have an ASP.NET MVC Single Page Application. On the page is a login area with a submit. When the submit is clicked the information is sent to a WebAPI controller and this authenticates on the server (ASP.NET Identity 2 and WebAPI 2). The server then sends a status HTTP response back to the browser to confirm or not if the user was authenticated (signed in).
Now the web page changes and shows a new visible area that has the ability to send PUT's POST's etc to the WebAPI on the server. However how can these convey to the server that the user is now authenticated?