Setting up custom web app authentication is always more complicated than it seems. For example, you still need to construct your own login page and other account functionality such as resetting passwords, forgotten password resets, 2FA, email verification, account protection and more. This sounds like everything you’ll ever need, but there are still a few missing pieces. It is very powerful, and allows you to hook into social providers, OpenID and OAuth providers, or use a local authentication strategy. Passport is a one of the commonly used authentication systems in Express apps. Why FusionAuth instead of plain Passport? It’ll also help if you know the basics of OAuth or authentication in general. Docker and Docker Compose set up as we’ll set up FusionAuth using these.Preferably basic Express knowledge (or knowledge of a similar web framework, or of the middleware concept).Basic Node.js knowledge and a Node.js environment set up.We’ll explain nearly everything that we use, but we expect you to have: You can, as always, skip ahead and view the code. With these basics in place, you’ll see how FusionAuth works and how it can extend the application to do whatever you need. The application itself is very simple: it will let users sign up via Twitter, and give them access to a “secret” area where their FusionAuth profile is displayed to them. We’ll also hook FusionAuth into Twitter’s authentication system, to allow users to easily log in to your app via Twitter. In this tutorial, we’ll build a basic Node.js + Express web application which does user registration and authentication via FusionAuth.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |