---
title: "Discussion on \"[\bAuthentication] Session vs JWT\" | Hashnode"
description: "Discussion on \"[\bAuthentication] Session vs JWT\". 1. 쓰는 이유\n\n주변에서 토큰 기반 인증을 많이 사용해서 평소 사용자 인증 기능을 구현할 때 JWT 인증을 주로 사용했다.\n\n그러나 백엔드 기초 강의를 보면 세션 (session) 기반 인증을 사용하는 경우도 종종 있다.\n\n그래서 궁금했다. 1) 두 가지 인증 방식은 어떤 차이가 있고, 2) 각각 어떤 경우에 사용하는 게 적절한 것인지.\n\n\n2. 본문\n개념 이해\nSession\n\n세션에 사용자 정보를 담아서 데이터베이스에 저장하고, 쿠키를 통해..."
url: "https://hashnode.com/posts/authentication-session-vs-jwt/658bd9551d006a71464b369f"
---

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

Discussion

# [\[Authentication\] Session vs JWT](https://blog.skku-comit.dev/authentication-session-vs-jwt?utm_source=hashnode&utm_medium=feed)

1\. 쓰는 이유 주변에서 토큰 기반 인증을 많이 사용해서 평소 사용자 인증 기능을 구현할 때 JWT 인증을 주로 사용했다. 그러나 백엔드 기초 강의를 보면 세션 (session) 기반 인증을 사용하는 경우도 종종 있다. 그래서 궁금했다. 1) 두 가지 인증 방식은 어떤 차이가 있고, 2) 각각 어떤 경우에 사용하는 게 적절한 것인지. 2. 본문 개념 이해 Session 세션에 사용자 정보를 담아서 데이터베이스에 저장하고, 쿠키를 통해...

Dec 27, 2023 · 2 min read · blog.skku-comit.dev  
Read the article

-   [#authentication](https://hashnode.com/tag/authentication)
-   [#auth](https://hashnode.com/tag/auth)
-   [#session](https://hashnode.com/tag/session)
-   [#jwt](https://hashnode.com/tag/jwt)
-   [#cookies](https://hashnode.com/tag/cookies)

## Written by

[Jihwan Park](https://hashnode.com/@aptheparker)

@aptheparker

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
