---
title: "Discussion on \"🔄 RefreshToken & 🔑 AccessToken\" | Hashnode"
description: "Discussion on \"🔄 RefreshToken & 🔑 AccessToken\". Pre-requisites:\n\n🟢 Node.js & Express.js ~ Backend Dev.\n\n🔐 JSON Web Token (JWT)\n\n🗂️ Database Models – especially MongoDB\n\n\n\nImagine this scenario...\nA user registers on an application—let’s say, Instagram 📸. Their details like full name, email, an..."
url: "https://hashnode.com/posts/refreshtoken-and-accesstoken/6807954c80d26bc6cb2f2a25"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [🔄 RefreshToken & 🔑 AccessToken](https://yashvarma.hashnode.dev/refreshtoken-and-accesstoken?utm_source=hashnode&utm_medium=feed)

Pre-requisites: 🟢 Node.js & Express.js ~ Backend Dev. 🔐 JSON Web Token (JWT) 🗂️ Database Models – especially MongoDB Imagine this scenario... A user registers on an application—let’s say, Instagram 📸. Their details like full name, email, an...

Apr 22, 2025 · 4 min read · yashvarma.hashnode.dev  
Read the article

-   [#jwt](https://hashnode.com/tag/jwt)
-   [#jwt-tokenjson-webtokentoken-authenticationaccess-tokenjson-tokenjwt-securityjwt-authenticationtoken-based-authenticationjwt-decodingjwt-implementation](https://hashnode.com/tag/jwt-tokenjson-webtokentoken-authenticationaccess-tokenjson-tokenjwt-securityjwt-authenticationtoken-based-authenticationjwt-decodingjwt-implementation)
-   [#hiteshchaudhary](https://hashnode.com/tag/hiteshchaudhary)
-   [#hiteshchoudhary](https://hashnode.com/tag/hiteshchoudhary)
-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chai-aur-backend](https://hashnode.com/tag/chai-aur-backend)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#token](https://hashnode.com/tag/token)
-   [#cookie-based-authentication](https://hashnode.com/tag/cookie-based-authentication)

## Written by

[Yash Varma](https://hashnode.com/@yashvarma)

@yashvarma

  
[View profile](https://hashnode.com/@yashvarma)

I am a MERN Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
