<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/tags/authentication/best-of/2021" -->

---
title: Best Authentication posts of 2021 | daily.dev
description: The most upvoted Authentication posts of 2021, curated by the daily.dev community.
canonical: https://daily.dev/tags/authentication/best-of/2021
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/tags/authentication/best-of/2021
og:type: website
og:site_name: daily.dev
og:title: Best Authentication posts of 2021 | daily.dev
og:description: The most upvoted Authentication posts of 2021, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Authentication — 2021

1. 1  
[](/posts/securing-microservices-with-jwt-ta-i2i4bf "Securing Microservices with JWT")  
Article  
![Avatar of ballerina](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/958d0f92bff045eba8128ea4fac00fb4)Ballerina · 5y  
Securing Microservices with JWT  
This guide explains how to secure an 'Order Management Service' (RESTful service) with JWT Auth using Ballerina. JWT helps to pass the end-user context across microservices in a manner that can’t be forged. Because the claims set of the JWT is signed by the STS, no microservice can change its content without invalidating its signature.  
105  
2
2. 2  
[](/posts/best-practices-for-using-jwt-xu27l2tqs "Best Practices for Using JWT")  
Article  
![Avatar of bit](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/bit)Bits and Pieces · 5y  
Best Practices for Using JWT  
JWT tokens are widely used in applications to share security information. Still, they are not entirely foolproof and could open doors for attackers. We can avoid these shortcomings if we use JWTs correctly. In this article, I will discuss 5 best practices you need to follow when using JWT.  
93  
4
3. 3  
[](/posts/how-to-secure-your-react-js-application-l8r1btrdj "How to Secure Your React.js Application")  
Article  
![Avatar of freecodecamp](https://media.daily.dev/image/upload/t_logo,f_auto/v1628412854/logos/freecodecamp)freeCodeCamp · 5y  
How to Secure Your React.js Application  
React.js is a scalable open-source JavaScript library and is one of the most commonly used front-end frameworks out there today. It's dynamic and is easy to get started with if you want to create interactive web applications with reusable components. But there are some thing you need to be aware of when using it for your projects.  
50  
3
4. 4  
[](/posts/how-i-built-rozbnb-with-next-js-tailwind-css-styled-components-stripe-and-auth0--ul5jzmua3 "How I built Rozbnb 🛌 with Next.js , Tailwind CSS, Styled Components , Stripe💰 and Auth0 🔒")  
Article  
![Avatar of hashnode](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4)Hashnode · 5y  
How I built Rozbnb 🛌 with Next.js , Tailwind CSS, Styled Components , Stripe💰 and Auth0 🔒  
A few weeks ago a great youtuber called Sonny Sangha hosted a 5day challenge of cloning Airbnb. After strategizing I planned to make that clone into a better website with authentication , animation , better UI and so on. The Motivation: I was exploring Auth0 for my website's Authentication so I came across this amazing Hackathon which was hosted by Auth0 and @Hashnode.  
43  
4
5. 5  
[](/posts/authentication-and-authorization-with-jwts-in-node-express-js-of7rgdidv "Authentication and Authorization with JWTs in Node && Express.js")  
Article  
![Avatar of devto](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto)DEV · 5y  
Authentication and Authorization with JWTs in Node && Express.js  
In this tutorial, we'll learn how to build an authentication system for a Nodejs & Express application using JWT. We'll be working on the project of this tutorial Build an API using Node, Express, MongoDB, and Docker . You can find the code source for this tutorial here.  
30
6. 6  
[](/posts/pollux---fake-json-data-json-server-mock-api-generator-with-jwt-n2wkz2nq3 "Pollux - Fake json data & json server mock API generator with JWT")  
Article  
![Avatar of ph](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ph)Product Hunt · 5y  
Pollux - Fake json data & json server mock API generator with JWT  
28
7. 7  
[](/posts/understand-the-concept-of-jwt-json-web-tokens-cbbxyuasg "Understand the Concept of JWT — JSON Web Tokens")  
Article  
![Avatar of swlh](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/swlh)The Startup · 6y  
Understand the Concept of JWT — JSON Web Tokens  
JWT is an open standard ( RFC 7519) which is used to securely transfer information between two parties. To understand the detail concept of JWT, it’s very important to first know about Session tokens. Once a user registers or logs in with his or her credentials, a server generates a JWT token and assigns it with the data, and passes it to client-side.  
26  
1
8. 8  
[](/posts/taskify---an-app-to-manage-your-daily-tasks-and-boost-your-productivity---harperdb-hackathon-k5ybtu-x9 "Taskify - An app to manage your daily tasks and boost your productivity - HarperDB Hackathon")  
Article  
![Avatar of hashnode](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4)Hashnode · 5y  
Taskify - An app to manage your daily tasks and boost your productivity - HarperDB Hackathon  
Taskify is an Android app that helps you manage all your tasks and track your productivity. It also lets you start a timer to track their time doing a task, It also shows you a detail view of the tasks you did in the last week. Users can login and register using email based authentication and Google authentication.  
26  
1
9. 9  
[](/posts/mern-app-node-js-react-redux-ant-design-crud-auth-u2e2em54q "Mern App ( Node.js / React / Redux / Ant Design ) Crud & Auth")  
Article  
![Avatar of devto](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto)DEV · 5y  
Mern App ( Node.js / React / Redux / Ant Design ) Crud & Auth  
Starter Antd Admin (Crud & auth) App based on Mern Stack. App built for DigitalOcean MongoDB Hackathon. Based on mern stack (Express.js / MongoDb / React / Redux / AntD) with generic crud and auth , admin management.  
25  
1
10. 10  
[](/posts/designing-microservices-with-expressjs-1-e2k8ca9 "Designing Microservices with ExpressJS")  
Article  
![Avatar of itnext](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/itnext2)ITNEXT · 6y  
Designing Microservices with ExpressJS  
Nginx is a unique web server, you can configure it as load balancer or gateway with just a few lines of code. We use Sequelize as ORM, but I won’t dive into details about it, just define Models and use it. Database models are held under src/db/models folder. Business logic files can be separated by model names. Nginx handles all requests coming from 8080.  
22  
1
11. 11  
[](/posts/github-kisses-passwords-goodbye-the-new-stack-lzodvsaz4 "GitHub Kisses Passwords Goodbye – The New Stack")  
Article  
![Avatar of newstack](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/newstack)The New Stack · 5y  
GitHub Kisses Passwords Goodbye – The New Stack  
GitHub has blocked the use of account passwords when authenticating Git operations. Instead, Git now requires you to use two-factor authentication (2FA) factors. These factors can include personal access tokens; SSH keys, for developers; or OAuth or GitHub App installation tokens for integrators.  
18
12. 12  
[](/posts/everything-about-super-tokens---an-open-source-alternative-to-auth0-firebase-auth-and-aws-cognito--gpyc6qlpc "Everything about super tokens - an open source alternative to Auth0, Firebase Auth, and AWS Cognito.")  
Article  
![Avatar of devto](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto)DEV · 5y  
Everything about super tokens - an open source alternative to Auth0, Firebase Auth, and AWS Cognito.  
SuperTokens is an open-source "user auth" quick to implement & easy to customize. It uses Cookies that contain an access token that expires and must be refreshed with a refresh token. It enables you to keep your users logged in for a time long in the most secure way possible.  
16
13. 13  
[](/posts/new-api-lets-app-developers-authenticate-users-via-sim-cards-5-z6dpg7x "New API Lets App Developers Authenticate Users via SIM Cards")  
Article  
![Avatar of thn](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/thn)The Hacker News · 5y  
New API Lets App Developers Authenticate Users via SIM Cards  
SIM-based authentication is an identity breakthrough. It is now possible to prevent fraud and fake accounts while seamlessly verifying mobile users using the most cryptographically secure identifier they already have – the SIM card embedded in their mobile devices. SIM swap fraud is a growing issue with serious financial consequences – FinTechs and cryptocurrency wallets have been especially targeted.  
15
14. 14  
[](/posts/how-to-create-an-authentication-system-using-jwt-and-node-js-cdqsc9shb "How to create an Authentication System using JWT and Node.js")  
Article  
![Avatar of jsPlainEnglish](https://media.daily.dev/image/upload/s--Dg5QTRuI--/f_auto,q_auto/v1686665538/logos/pe)JavaScript in Plain English · 5y  
How to create an Authentication System using JWT and Node.js  
In this tutorial, we will learn everything about how you can use JWT in Node.js to authenticate users. We will create APIs for signup, login, and logout using node.js. To complete this tutorial we would require the following: Postman: Used as an API client to Create or Test API’s. Node Package Manager (npm) must be installed in your system.  
14  
1
15. 15  
[](/posts/react-user-authentication---using-jwt-json-web-tokens--l21cgjwzx "React User Authentication - Using JWT (Json Web Tokens)")  
Article  
![Avatar of devto](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto)DEV · 5y  
React User Authentication - Using JWT (Json Web Tokens)  
This article explains how to Add User Authentication to React. We will start using an open-source template and mention all implementation steps that enhance the codebase. In the end, the project will be able to register and authenticate users. The template used in this article is React Soft Dashboard by Creative-Tim.  
13
16. 16  
[](/posts/designing-microservices-with-expressjs-jlwfa3c2k "Designing Microservices with ExpressJS")  
Article  
![Avatar of itnext](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/itnext2)ITNEXT · 6y  
Designing Microservices with ExpressJS  
Nginx is a unique web server, you can configure it as load balancer or gateway with just a few lines of code. We use Sequelize as ORM, but I won’t dive into details about it, just define Models and use it. Database models are held under src/db/models folder. Business logic files can be separated by model names. Nginx handles all requests coming from 8080.  
12  
1
17. 17  
[](/posts/react-native-jwt-authentication-using-axios-interceptors-icxzngsky "React Native: JWT authentication using Axios interceptors")  
Article  
![Avatar of logrocket](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/logrocket)LogRocket · 5y  
React Native: JWT authentication using Axios interceptors  
React Native is a popular choice for developing complex mobile applications. The main selling point for React Native is that you can reuse a significant part of your React web app code to build a mobile app. Almost every app requires user authentication. To demonstrate how to authenticate users, we will build a demo application.  
10
18. 18  
[](/posts/build-an-electron-app-with-javascript-and-authentication-povqmoir7 "Build an Electron App with JavaScript and Authentication")  
Article  
![Avatar of okta](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/17da1ccc02574ef9838f856af0e10def)Okta Dev · 5y  
Build an Electron App with JavaScript and Authentication  
Use Okta’s Auth JS SDK to authenticate your users. Electron is one of the most popular desktop frameworks today. The Electron front end uses HTML, JavaScript, and CSS for its front end and Node.js for its backend. For some companies, allowing localhost to receive the response from Okta may pose a security concern.  
10
19. 19  
[](/posts/best-practices-for-authentication-and-authorization-for-rest-apis-lfvvp4wz6 "Best practices for authentication and authorization for REST APIs")  
Article  
![Avatar of stackov](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)Stack Overflow Blog · 5y  
Best practices for authentication and authorization for REST APIs  
10
20. 20  
[](/posts/typingdna-verify---a-new-way-to-authenticate-users-9d5rcuj84 "TypingDNA Verify - A New Way to Authenticate Users")  
Article  
![Avatar of hashnode](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4)Hashnode · 5y  
TypingDNA Verify - A New Way to Authenticate Users  
TypingDNA is a company that provides a free authentication API & managed verification solutions for developers. TypingDNA Verify relies on a state-of-the-art authentication engine using AI-based algorithms to verify typing patterns and select the best key phrases. The chances of a security break are very slim because your typing pattern is unique to only you!  
10  
3

[See all Authentication archives](/tags/authentication/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/tags/authentication/best-of/2021#page","url":"https://daily.dev/tags/authentication/best-of/2021","name":"Best Authentication Posts of 2021","description":"The most upvoted Authentication posts of 2021, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/tags/authentication/best-of/2021#items","numberOfItems":20,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/securing-microservices-with-jwt-ta-i2i4bf","name":"Securing Microservices with JWT"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/best-practices-for-using-jwt-xu27l2tqs","name":"Best Practices for Using JWT"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/how-to-secure-your-react-js-application-l8r1btrdj","name":"How to Secure Your React.js Application"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/how-i-built-rozbnb-with-next-js-tailwind-css-styled-components-stripe-and-auth0--ul5jzmua3","name":"How I built Rozbnb 🛌 with Next.js , Tailwind CSS, Styled Components , Stripe💰 and Auth0 🔒"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/authentication-and-authorization-with-jwts-in-node-express-js-of7rgdidv","name":"Authentication and Authorization with JWTs in Node && Express.js"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/pollux---fake-json-data-json-server-mock-api-generator-with-jwt-n2wkz2nq3","name":"Pollux - Fake json data & json server mock API generator with JWT"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/understand-the-concept-of-jwt-json-web-tokens-cbbxyuasg","name":"Understand the Concept of JWT — JSON Web Tokens"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/taskify---an-app-to-manage-your-daily-tasks-and-boost-your-productivity---harperdb-hackathon-k5ybtu-x9","name":"Taskify - An app to manage your daily tasks and boost your productivity - HarperDB Hackathon"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/mern-app-node-js-react-redux-ant-design-crud-auth-u2e2em54q","name":"Mern App ( Node.js / React / Redux / Ant Design ) Crud & Auth"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/designing-microservices-with-expressjs-1-e2k8ca9","name":"Designing Microservices with ExpressJS"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/github-kisses-passwords-goodbye-the-new-stack-lzodvsaz4","name":"GitHub Kisses Passwords Goodbye – The New Stack"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/everything-about-super-tokens---an-open-source-alternative-to-auth0-firebase-auth-and-aws-cognito--gpyc6qlpc","name":"Everything about super tokens - an open source alternative to Auth0, Firebase Auth, and AWS Cognito."},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/new-api-lets-app-developers-authenticate-users-via-sim-cards-5-z6dpg7x","name":"New API Lets App Developers Authenticate Users via SIM Cards"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/how-to-create-an-authentication-system-using-jwt-and-node-js-cdqsc9shb","name":"How to create an Authentication System using JWT and Node.js"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/react-user-authentication---using-jwt-json-web-tokens--l21cgjwzx","name":"React User Authentication - Using JWT (Json Web Tokens)"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/designing-microservices-with-expressjs-jlwfa3c2k","name":"Designing Microservices with ExpressJS"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/react-native-jwt-authentication-using-axios-interceptors-icxzngsky","name":"React Native: JWT authentication using Axios interceptors"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/build-an-electron-app-with-javascript-and-authentication-povqmoir7","name":"Build an Electron App with JavaScript and Authentication"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/best-practices-for-authentication-and-authorization-for-rest-apis-lfvvp4wz6","name":"Best practices for authentication and authorization for REST APIs"},{"@type":"ListItem","position":20,"url":"https://daily.dev/posts/typingdna-verify---a-new-way-to-authenticate-users-9d5rcuj84","name":"TypingDNA Verify - A New Way to Authenticate Users"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Tags","item":"https://daily.dev/tags"},{"@type":"ListItem","position":3,"name":"Authentication","item":"https://daily.dev/tags/authentication"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/tags/authentication/best-of"},{"@type":"ListItem","position":5,"name":"2021"}]}]}
```

