Simple Authentication System Design | Interview Prep
Learn how to design a basic authentication system for interviews. Join our website, Discord, and newsletter for more tips! π

Interview Pen
209.1K views β’ Apr 29, 2023

About this video
Visit Our Website: https://interviewpen.com/?utm_campaign=auth
Join Our Discord (24/7 help): https://discord.gg/Qy85PT9wj6
Join Our Newsletter - The Blueprint: https://theblueprint.dev/subscribe
Like & Subscribe: https://youtube.com/@interviewpen
This is an example of a full video available on interviewpen.com. Check out our website to find more premium content like this!
Problem Statement:
Design a simple authentication system that allows services to identify clients. Clients should be able to register their identity, log-in with their identity, & end active sessions.
**Resources:**
- [Stateless Protocols](https://en.wikipedia.org/wiki/Stateless_protocol)
- [JSON Web Tokens](https://jwt.io/)
Table of Contents:
0:00 - Introduction
1:08 - HTTP β Stateless
2:10 - Visit interviewpen.com
2:29 - Continuing On
3:49 - Sessions
5:35 - Authenticating Requests
7:21 - Session Token Storage: Cookies
8:16 - Cross-Site Request Forgery (CSRF)
8:54 - Local Storage
9:37 - Architectural Concerns
10:44 - Decentralized Auth
11:48 - JSON Web Tokens
14:17 - Token Lifetime
15:18 - Recap
16:47 - Visit Us at interviewpen.com
Socials:
Twitter: https://twitter.com/InterviewPen
Twitter (The Blueprint): https://twitter.com/theblueprintdev
LinkedIn: https://www.linkedin.com/company/interviewpen
Website: https://interviewpen.com/?utm_campaign=auth
Join Our Discord (24/7 help): https://discord.gg/Qy85PT9wj6
Join Our Newsletter - The Blueprint: https://theblueprint.dev/subscribe
Like & Subscribe: https://youtube.com/@interviewpen
This is an example of a full video available on interviewpen.com. Check out our website to find more premium content like this!
Problem Statement:
Design a simple authentication system that allows services to identify clients. Clients should be able to register their identity, log-in with their identity, & end active sessions.
**Resources:**
- [Stateless Protocols](https://en.wikipedia.org/wiki/Stateless_protocol)
- [JSON Web Tokens](https://jwt.io/)
Table of Contents:
0:00 - Introduction
1:08 - HTTP β Stateless
2:10 - Visit interviewpen.com
2:29 - Continuing On
3:49 - Sessions
5:35 - Authenticating Requests
7:21 - Session Token Storage: Cookies
8:16 - Cross-Site Request Forgery (CSRF)
8:54 - Local Storage
9:37 - Architectural Concerns
10:44 - Decentralized Auth
11:48 - JSON Web Tokens
14:17 - Token Lifetime
15:18 - Recap
16:47 - Visit Us at interviewpen.com
Socials:
Twitter: https://twitter.com/InterviewPen
Twitter (The Blueprint): https://twitter.com/theblueprintdev
LinkedIn: https://www.linkedin.com/company/interviewpen
Website: https://interviewpen.com/?utm_campaign=auth
Video Information
Views
209.1K
Likes
5.6K
Duration
17:22
Published
Apr 29, 2023
User Reviews
4.7
(41) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
No specific trending topics match this video yet.
Explore All Trends