<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/password-session-cookie-token-jwt-sso-oauth---authentication-explained---part-1-713xf4khd" -->

---
title: Password, Session, Cookie, Token, JWT, SSO, OAuth -...
description: Password, Session, Cookie, Token, JWT, SSO, OAuth - Authentication Explained - Part 1. We discuss the problems each method solves and how to choose the right...
canonical: https://daily.dev/posts/password-session-cookie-token-jwt-sso-oauth---authentication-explained---part-1-713xf4khd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Password, Session, Cookie, Token, JWT, SSO, OAuth - Authentication Explained - Part 1 | daily.dev
og:description: Password, Session, Cookie, Token, JWT, SSO, OAuth - Authentication Explained - Part 1. We discuss the problems each method solves and how to choose the right...
og:url: https://daily.dev/posts/password-session-cookie-token-jwt-sso-oauth---authentication-explained---part-1-713xf4khd
og:image: https://api.daily.dev/og/posts/713XF4kHD.png
og:image:alt: Password, Session, Cookie, Token, JWT, SSO, OAuth - Authentication Explained - Part 1
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Password, Session, Cookie, Token, JWT, SSO, OAuth - Authentication Explained - Part 1

**[ByteByteGo](https://daily.dev/sources/bytebytego)** · 3 min read · 227 upvotes · 6 comments

## Summary

Password, Session, Cookie, Token, JWT, SSO, OAuth - Authentication Explained - Part 1. We discuss the problems each method solves and how to choose the right authentication method for our needs. The diagram below shows where these methods apply in a typical website architecture and their meanings.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.bytebytego.com/p/password-session-cookie-token-jwt>

## Community discussion

Top comments from developers on daily.dev.

**@ksingh9000** · 8 upvotes

> Seems nice, just need to pay to read the whole article, unfortunately.

**@ahmadjoya** · 4 upvotes

> thank you. waiting for Part 2

**@nevercodealone** · 0 upvotes

> When is Part2 planned?

**@devinschumacher** · 0 upvotes

> perfect timing

**@lollipox** · 0 upvotes

> awesome

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#database](https://daily.dev/tags/database), [#authentication](https://daily.dev/tags/authentication), [#authorization](https://daily.dev/tags/authorization), [#jwt](https://daily.dev/tags/jwt)

[View this post on daily.dev](https://daily.dev/posts/password-session-cookie-token-jwt-sso-oauth---authentication-explained---part-1-713xf4khd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Password, Session, Cookie, Token, JWT, SSO, OAuth - Authentication Explained - Part 1","url":"https://daily.dev/posts/password-session-cookie-token-jwt-sso-oauth---authentication-explained---part-1-713xf4khd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/password-session-cookie-token-jwt-sso-oauth---authentication-explained---part-1-713xf4khd"},"datePublished":"2023-04-05T15:31:28.360Z","dateModified":"2023-04-05T15:31:28.358Z","description":"Password, Session, Cookie, Token, JWT, SSO, OAuth - Authentication Explained - Part 1. We discuss the problems each method solves and how to choose the right...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1680708685/f8d754080956da9d411544adc4f22221","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1680708685/f8d754080956da9d411544adc4f22221","isAccessibleForFree":true,"articleSection":"ByteByteGo","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ByteByteGo","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/35be29234ee14d01a9cd049c52e12753","url":"https://daily.dev/sources/bytebytego"},"commentCount":6,"discussionUrl":"https://daily.dev/posts/password-session-cookie-token-jwt-sso-oauth---authentication-explained---part-1-713xf4khd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":227},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":6}],"keywords":"security,database,authentication,authorization,jwt","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ByteByteGo","item":"https://daily.dev/sources/bytebytego"},{"@type":"ListItem","position":3,"name":"Password, Session, Cookie, Token, JWT, SSO, OAuth - Authentication Explained - Part 1"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/password-session-cookie-token-jwt-sso-oauth---authentication-explained---part-1-713xf4khd","comment":[{"@type":"Comment","text":"Seems nice, just need to pay to read the whole article, unfortunately.","datePublished":"2023-04-11T06:26:55.788Z","url":"https://daily.dev/posts/713XF4kHD#c-Rp7m6bWgn","author":{"@type":"Person","name":"K","url":"https://daily.dev/ksingh9000","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":8}},{"@type":"Comment","text":"thank you. waiting for Part 2","datePublished":"2023-04-09T07:42:59.570Z","url":"https://daily.dev/posts/713XF4kHD#c-aaX7AI7uo","author":{"@type":"Person","name":"Ahmad Joya","url":"https://daily.dev/ahmadjoya","image":"https://lh3.googleusercontent.com/a/AGNmyxb964Ai9WFTgci3isZ3fTSmEO1ISG4JWktNEIAA=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4}},{"@type":"Comment","text":"When is Part2 planned?","datePublished":"2023-04-12T14:03:46.565Z","url":"https://daily.dev/posts/713XF4kHD#c-Swt78vyq4","author":{"@type":"Person","name":"Roland Golla","url":"https://daily.dev/nevercodealone","image":"https://media.daily.dev/image/upload/v1679479598/avatars/avatar_0BdSf0BvpuMElqT2SCVGu.jpg"}},{"@type":"Comment","text":"perfect timing","datePublished":"2023-04-10T04:50:24.874Z","url":"https://daily.dev/posts/713XF4kHD#c-xnW14UdV4","author":{"@type":"Person","name":"Devin Schumacher","url":"https://daily.dev/devinschumacher","image":"https://media.daily.dev/image/upload/v1681093432/avatars/avatar_9YXht3gnMZrma4NV2nm2n.jpg"}},{"@type":"Comment","text":"awesome","datePublished":"2023-04-22T19:05:25.036Z","url":"https://daily.dev/posts/713XF4kHD#c-RDM6jm98L","author":{"@type":"Person","name":"Konstantin Skrypak","url":"https://daily.dev/lollipox","image":"https://lh3.googleusercontent.com/a/AGNmyxY9Xpg7dSkPCC8MreiFPDFekVRqzMFie8RWJ-aP=s96-c"}}]}
```

