Authentication and Authorization with HTTP
Learn to set up the business logic for authenticating users in an Angular application.
The Fake Store API provides an endpoint for authenticating users with a username and password. It contains a login method that accepts a username and a password as parameters and returns an authentication token. We will use the authentication token in our application to differentiate between a logged-in user and guest.
Note: The username and password are provided by a predefined pool of users.
We will explore the following authentication and authorization topics:
Authenticating with a backend API ...