Angular with PHP and JSON web tokens (JWT)




Angular with PHP and JSON web tokens (JWT)

Update: The whole Angular part of the course has been updated to use Observables, Subjects, and Angular Material.

Update2: Refresh token functionality improved using httponly cookie.

This course will lead you through the step by step creation of an Angular application, which uses JSON Web Tokens (JWT) and gives an opportunity to log in and log out users. You will also understand how to integrate client-side Angular with server-side PHP for complete application development.

It is suitable for beginning to intermediate students who would like to create practical applications and prefer a hands-on approach of teaching.

During the course you will learn how to use in practice:

  • template-driven model forms

  • common user models and bindings using ngModel and interfaces

  • dependency injection of services and external libraries

  • JWT (JSON Web Tokens) in order to create and use for authentication service, both in PHP and Angular

  • guards to protect URL routes

  • HttpClient module for interaction with get and post requests

  • Observables and Behaviour subject

  • Angular Material Snackbar for displaying flash messages

You can follow along and try the examples alongside.

The course project files are updated in order to properly unsubscribe from services and avoid potential memory leaks.

Because of improved security the code now features saving the refresh token inside a http-only cookie.

Latest Update: Added explanation and demonstration of JWT refresh tokens

Create Angular application with authentication from scratch and integrate it with PHP backend

Url: View Details

What you will learn
  • be assured of their knowledge of the Angular framework
  • being able confidently to create application in Angular
  • understand the main principles and practical usage of components, services and JSON web tokens

Rating: 3.8

Level: Intermediate Level

Duration: 2 hours

Instructor: Nevyan Neykov


Courses By:   0-9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

About US

The display of third-party trademarks and trade names on this site does not necessarily indicate any affiliation or endorsement of coursescompany.com.


© 2021 coursescompany.com. All rights reserved.
View Sitemap