#5: Securing an Aurelia application with Firebase authentication

Aurelia Amsterdam meetup
Aurelia Amsterdam meetup
Public group
Location image of event venue



18:15 - 19:00 | Doors open

18:30 - 19:25 | Food, drinks, and chat.

19:25 - 19:30 | Welcome & Introduction

19:30 - 20:30 | Securing an Aurelia application with Firebase authentication by Sean Hunter

20:30 - 21:00 | Built with Aurelia - Roy Hoeijmans

21:00 - 21:30 | Chat & drink afterwards.

21:30 | Doors close

Securing an Aurelia application with Firebase authentication

SPAs require a non-traditional approach to authentication. Whereas traditional server-side applications are typically secured using cookies and server-side rendered views—where the server has the context of who the user is—SPAs don’t have this luxury.

Because the application views (such as the navigation bar) are rendered on the client side, you need a new set of tools and techniques, first to handle what is shown based on a user’s authentication status, and then to render the page appropriately based on the user’s authorization level.

This talk covers how you can use a combination of JSON web tokens (JWT), local storage, and Aurelia’s routing system to build authentication and authorization into your Aurelia applications using Firebase as a back end identity provider.

In this talk we'll cover:

• Cookie- versus token-based authentication

• Securing your Aurelia applications with tokens

• Introduction to Firebase

• Using value converters, HTTP interceptors, and route-pipeline steps to a sample app with Firebase

Sean Hunter is the lead developer at Oneset Design ( https://www.onset.com.au/ ), a software company based in Melbourne Australia. He is the author of the book Aurelia in Action published by Manning ( https://www.manning.com/books/aurelia-in-action ) and has been running Aurelia applications in production for almost two years. He regularly posts amazing blog posts about Aurelia on his blog: https://sean-hunter.io/ and you can follow him on twitter at @mr_sean_hunter ( https://twitter.com/mr_sean_hunter ).

Built with Aurelia - Roy Hoeijmans

Roy is a full stack software developer at Effectory ( http://www.effectory.com ).

At the beginning of last year, together with his scrum team; Roy rebuilt the front end part of the questionnaire system that is currently used in production by Effectory. The system is built using the Aurelia Framework on top of dotnet Core and hosted in Microsoft Azure. A wonderful UI and UX experience for the questionnaire system was created in collaboration with a design team from Hike One ( https://hike.one ). Jimmy from Hike One wrote a blog post about the system which can be found here: https://hike.one/update/answering-a-questionnaire-was-never-this-easy

Privacy policy

We may photograph or videotape speakers and attendees for use in online or printed promotions. By virtue of your attendance, you grant us the right to take such photos or videos and to use your likeness in such materials.