Session, cookie, JWT, token, SSO, and OAuth 2.0 - what are they? - Tech Junction (2024)

1.26K viewsCyber Security

Session, cookie, JWT, token, SSO, and OAuth 2.0 - what are they? - Tech Junction (1)

Session, cookie, JWT, token, SSO, and OAuth 2.0 – what are they?

Tech Junction Answered question July 31, 2023

Session, cookie, JWT, token, SSO, and OAuth 2.0 - what are they? - Tech Junction (2)

These terms are all related to user identity management. When you log into a website, you declare who you are (identification). Your identity is verified (authentication), and you are granted the necessary permissions (authorization). Many solutions have been proposed in the past, and the list keeps growing.

From simple to complex, here is my understanding of user identity management:

  1. WWW-Authenticate is the most basic method. You are asked for the username and password by the browser. As a result of the inability to control the login life cycle, it is seldom used today.
  2. A finer control over the login life cycle is session-cookie. The server maintains session storage, and the browser keeps the ID of the session. A cookie usually only works with browsers and is not mobile app friendly.
  3. To address the compatibility issue, the token can be used. The client sends the token to the server, and the server validates the token. The downside is that the token needs to be encrypted and decrypted, which may be time-consuming.
  4. JWT is a standard way of representing tokens. This information can be verified and trusted because it is digitally signed. Since JWT contains the signature, there is no need to save session information on the server side.
  5. By using SSO (single sign-on), you can sign on only once and log in to multiple websites. It uses CAS (central authentication service) to maintain cross-site information
  6. By using OAuth 2.0, you can authorize one website to access your information on another website

Session, cookie, JWT, token, SSO, and OAuth 2.0 - what are they? - Tech Junction (3)

Tech Junction Answered question July 31, 2023

Session, cookie, JWT, token, SSO, and OAuth 2.0 - what are they? - Tech Junction (2024)
Top Articles
Cash discounts, while still rare, are up over 60% from 2015. Here's how much you can save
Guide: How to Avoid Capital Gains Tax on Real Estate
Arrests reported by Yuba County Sheriff
craigslist: south coast jobs, apartments, for sale, services, community, and events
Pickswise the Free Sports Handicapping Service 2023
Shaniki Hernandez Cam
Azeroth Pilot Reloaded - Addons - World of Warcraft
Craigslist Dog Kennels For Sale
Craigslist Pets Southern Md
Wordle auf Deutsch - Wordle mit Deutschen Wörtern Spielen
What Happened To Maxwell Laughlin
Busty Bruce Lee
Tracking Your Shipments with Maher Terminal
Bend Pets Craigslist
Simplify: r^4+r^3-7r^2-r+6=0 Tiger Algebra Solver
Skyward Login Jennings County
Indystar Obits
Walmart Car Department Phone Number
Scout Shop Massapequa
Yog-Sothoth
Doki The Banker
Www.patientnotebook/Atic
Baldur's Gate 3: Should You Obey Vlaakith?
Boxer Puppies For Sale In Amish Country Ohio
Lexus Credit Card Login
Cowboy Pozisyon
Sams Gas Price Sanford Fl
Kuttymovies. Com
*!Good Night (2024) 𝙵ull𝙼ovie Downl𝚘ad Fr𝚎e 1080𝚙, 720𝚙, 480𝚙 H𝙳 HI𝙽DI Dub𝚋ed Fil𝙼yz𝚒lla Isaidub
Google Flights To Orlando
Stubhub Elton John Dodger Stadium
Ridge Culver Wegmans Pharmacy
Gabrielle Enright Weight Loss
Lake Dunson Robertson Funeral Home Lagrange Georgia Obituary
Sinai Sdn 2023
Ticket To Paradise Showtimes Near Regal Citrus Park
South Bend Tribune Online
Ferguson Showroom West Chester Pa
Busted Newspaper Mcpherson Kansas
UT Announces Physician Assistant Medicine Program
Timothy Warren Cobb Obituary
Gary Vandenheuvel Net Worth
Lyons Hr Prism Login
Learn4Good Job Posting
Marcel Boom X
Grace Family Church Land O Lakes
Oak Hill, Blue Owl Lead Record Finastra Private Credit Loan
The Hardest Quests in Old School RuneScape (Ranked) – FandomSpot
Les BABAS EXOTIQUES façon Amaury Guichon
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 5729

Rating: 4.4 / 5 (75 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.