---
title: "Discussion on \"Implementing Refresh Token Logic in a MERN app\" | Hashnode"
description: "Discussion on \"Implementing Refresh Token Logic in a MERN app\". today i finally implemented refresh tokens properly.\ni had known the concept for a while — access token expires fast, refresh token lives longer, rotate when needed.\nbut knowing something conceptually"
url: "https://hashnode.com/posts/implementing-refresh-token-logic-in-a-mern-app/699bd82896cb64f7287dfc21"
---

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

Discussion

# [Implementing Refresh Token Logic in a MERN app](https://piyushdeshmukh.hashnode.dev/implementing-refresh-token-logic-in-a-mern-app?utm_source=hashnode&utm_medium=feed)

today i finally implemented refresh tokens properly. i had known the concept for a while — access token expires fast, refresh token lives longer, rotate when needed. but knowing something conceptually

Feb 23 · 4 min read · piyushdeshmukh.hashnode.dev  
Read the article

-   [#mern](https://hashnode.com/tag/mern)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#express](https://hashnode.com/tag/express)
-   [#backend](https://hashnode.com/tag/backend)
-   [#rest-api](https://hashnode.com/tag/rest-api)
-   [#refresh-token](https://hashnode.com/tag/refresh-token)

## Written by

[Piyush Deshmukh](https://hashnode.com/@PiyushDeshmukh)

@PiyushDeshmukh

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

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
