Angular API Communication and Authentication

1 min. read

Course URL:

HTTP Verbs
GET - read data from your api
POST - create new data
PUT - update data
DELETE - delete data


Use Passport - Most popular NodeJS authentication middleware

Strategy is where passport will save the user data.

Make sure to add localhost to CROS in Auth0
Make sure to add the callback in the allowed callback list in auth0

Use redis to save tokens

Setup rules to merge accounts with the same email address

Cross-platform desktop apps: