DEV Community

The Angular Show

E016 - Authentication and Authorization in Angular

In this episode, Sam Julien, Google Developer Expert in Angular, Auth0 developer advocate, and expert (blue belt 🥋) in authentication, shares best practices for authentication and security in Angular.

Authentication is necessary for most applications, but often, is either an afterthought or a once-and-done feature. This leads to potential issues as the security landscape shifts. While you _can_ roll your own solution for authentication, generating, validating, and refreshing token, an identity solution from a third-party provider may be something you want to consider. An identity service allows teams to focus on building apps and features, outsourcing the complexities of authentication using a JavaScript SDK. Sam walks us through implementing authentication in Angular using HTTP interceptors, route guards, storing authentication tokens, and state.

Panelists Aaron Frost, Jennifer Wadella, & Brian Love then segue into recapping ng-conf: Hardwired 2020, which you can enjoy in its full talk-by-talk entirety at https://videos.ng-conf.org/.

Episode source