Ng-conf: Hardwired - Remote - April 1-3, 2020

Hi everyone! I’ll be at ng-conf: Hardwired !

Talk Title: The Role of Effects in NgRx Authentication
Talk Description: Building token authentication into an NgRx application can be overwhelming and confusing. Authentication is already a big, scary subject and so is NgRx. When you put them together, things get confusing fast. In this talk, we’ll do a comparison of how authentication in a vanilla Angular app differs from auth in an NgRx app. We’ll then see how the central nervous system of authentication shifts from a service in regular Angular to Effects in NgRx.

This talk will be practical and code-driven, leaving you equipped to tackle adding this feature to your NgRx application at work on Monday. You’ll learn how Effects can handle loading authentication state, navigate users to protected routes, and process tokens received from an identity provider. By the end, you’ll feel way better about tackling auth in NgRx!

I’ll post slides and resources here after the event!

Thank you so much for having me!

Here are my slides!

Edit: Forgot the NgRx Conf discount code!

Thanks @sam.julien great talk!!

1 Like

Heard your talk! Do you have an example app or sample repository with some best practices with NgRx and Authentication?

Thank you @ajonp!

@wallace41290 this is the sample app I’ve been tinkering with lately: https://github.com/samjulien/nostalgia-mart

I’m also collaborating with one of our Ambassadors on an updated article for the Auth0 blog, so stay tuned.