Video details

Angular HTTP Interceptors: There and back again

10.18.2017 at Rocky Mountain Angular


Ado Kukic (Auth0)

The 4.3 release of Angular introduced a new HTTP client library and with it brought back a beloved feature from AngularJS - interceptors. Interceptors in the Angular teams own words "When your application makes a request, interceptors transform it before sending it to the server, and the interceptors can transform the response on its way back before your application sees it." In this talk, we show you how to create HTTP Interceptors with Angular 4.3+, use cases for the interceptors - in our case and probably the most common case; authentication and authorization, as well as additional best practices and tips and tricks using the new HttpClient library. Ado is a full-stack developer and developer evangelist at Auth0. Mixing his passion of programming and education, he creates tutorials, courses, and other educational content focusing on security, authentication, and much more. On the front-end, he prefers Angular, while on the backend he flip-flops between Node.js and Golang.