JSON Authentication - API Platform Discovery Training

We will now tackle the authentication part and we will start for that with the authentication based on an entry point. / api / login who will receive the user's identifiers and who will define a user cookie. This approach works if your API and your client application are running on the same domain name.