NodeJS Login using Access & Refresh Tokens

Scalable Scripts
1 min readFeb 16, 2022

Learn how to Authenticate using Access & Refresh tokens using NodeJS. We will use NodeJS with Typescript and we will connect with MySQL using TypeORM.

This tutorial is divided in two parts. This is part one:

This is part two:

Select one Frontend to complete this app:

React Login using Access & Refresh Tokens: https://youtu.be/VJLSaq1Ll0U

VueJS Login using Access & Refresh Tokens: https://youtu.be/Bbx0CyPf4c4

Angular Login using Access & Refresh Tokens: https://youtu.be/OG8vbzVuFoc

Svelte Login using Access & Refresh Tokens: https://youtu.be/Y86k1Is45Uo

Want to learn to login using two-factor authentication or using your google account?

Check out these courses:

The Ultimate Authentication Course with NodeJS and React: https://scalablescripts.com/p/react-n...

The Ultimate Authentication Course with NodeJS and VueJS: https://scalablescripts.com/p/vue-nod...

The Ultimate Authentication Course with NodeJS and Angular: https://scalablescripts.com/p/angular...

The Ultimate Authentication Course with NodeJS and Svelte: https://scalablescripts.com/p/svelte-...

Get access to all my NodeJS courses for $8/month:

NodeJS Bundle: https://scalablescripts.com/p/nodejs-...

Get access to all my courses: https://scalablescripts.com/p/membership

Source Code: https://github.com/scalablescripts/no...

--

--