---
title: "Discussion on \"Access Token V/S Refresh Token\" | Hashnode"
description: "Discussion on \"Access Token V/S Refresh Token\". Both access and refresh tokens are generated from the backend when a user successfully login into the system. These tokens are then sent to the frontend and securely added to cookies, ensuring they are only readable and cannot be modified from the fr..."
url: "https://hashnode.com/posts/access-token-vs-refresh-token/663a5b5d98f9014d01e4a47f"
---

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

Discussion

# [Access Token V/S Refresh Token](https://usmanali.hashnode.dev/access-token-vs-refresh-token?utm_source=hashnode&utm_medium=feed)

Both access and refresh tokens are generated from the backend when a user successfully login into the system. These tokens are then sent to the frontend and securely added to cookies, ensuring they are only readable and cannot be modified from the fr...

May 7, 2024 · 1 min read · usmanali.hashnode.dev  
Read the article

-   [#access-token](https://hashnode.com/tag/access-token)
-   [#access-tokens](https://hashnode.com/tag/access-tokens)
-   [#refresh-token](https://hashnode.com/tag/refresh-token)
-   [#access-and-refresh-tokens](https://hashnode.com/tag/access-and-refresh-tokens)
-   [#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)
-   [#jwttokens](https://hashnode.com/tag/jwttokens)
-   [#jwtauthentication](https://hashnode.com/tag/jwtauthentication)

## Written by

[Usman Ali](https://hashnode.com/@mani106)

@mani106

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

Hi there! My name is Usman Ali I'm MERN Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
