7

Adding Authentication to Our App

We’ve made great progress so far, developing our to-do app and hosting it on the web. However, making our application available on the internet introduces a new problem: how do we keep our data safe? Anybody who knows the URL of our app can access it and can see all our to-dos. We need to add some kind of authentication to our app so that only authorized users can access it. In addition, wouldn’t it be nice if we could share our to-do app with our friends and family so they could also create their lists and keep track of their to-dos?

To achieve these outcomes, we need to add an authentication layer to our app. Authentication will ensure that only authorized users can see specific to-do items. In other words, ...

Get Web Development with Julia and Genie now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.