Securing users is an essential part of any application however it can also be a barrier to some new users who don’t want to have remember a new set of credentials or may not completely trust you at first. With OAuth you can allow users to authenticate using an existing account such as Google or Facebook. This is not only convenient for the user but can also be useful for you as it will automatically provide you with profile information such as an image and name.

In Node the preferred way of adding OAuth features to your application is with Passport. You can use Passport to assist with both sign up and login, and once you’ve added a provider such as Facebook, adding additional providers is fairly painless.

If you’re looking to extend your authentication model to third party providers then I can help advise on best practices including how work with Passport’s session based authentication along with securing api access through token based authentication.

Useful Resources

Do you have an app/project you'd like a quote for?

Hi there, I’m Alex and I’d love to discuss your next project with you.

I’m happy to discuss requirements, timeline, budget and any other concerns you may have.