
Authentication Explained: Sessions, JWT & OAuth
Authentication explained for beginners, one request at a time: how Basic authentication, sessions and cookies, API keys, Bearer tokens, JWTs, OAuth 2.0 with PKCE and OpenID Connect (OIDC) work, what the server checks for each, how authentication differs from authorization, and how one dashboard refresh uses several of them together.
► Try it yourself: https://antonputra.com/exercises/authentication-explained/
► Full lab: https://antonputra.com/labs/authentication/
▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬
0:00 Authentication vs authorization
1:59 Basic authentication
5:06 Sessions and cookies
8:45 API keys
11:15 Bearer tokens
13:23 JWTs (JSON Web Tokens)
18:10 OAuth 2.0 and PKCE
24:05 OpenID Connect (OIDC)
27:48 One complete request
▬▬▬▬▬▬ Connect with me ? ▬▬▬▬▬▬
► LinkedIn: https://www.linkedin.com/in/anton-putra
► Twitter/X: https://twitter.com/antonvputra
► GitHub: https://github.com/antonputra
► Email: me@antonputra.com
#authentication #devops
► Try it yourself: https://antonputra.com/exercises/authentication-explained/
► Full lab: https://antonputra.com/labs/authentication/
▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬
0:00 Authentication vs authorization
1:59 Basic authentication
5:06 Sessions and cookies
8:45 API keys
11:15 Bearer tokens
13:23 JWTs (JSON Web Tokens)
18:10 OAuth 2.0 and PKCE
24:05 OpenID Connect (OIDC)
27:48 One complete request
▬▬▬▬▬▬ Connect with me ? ▬▬▬▬▬▬
► LinkedIn: https://www.linkedin.com/in/anton-putra
► Twitter/X: https://twitter.com/antonvputra
► GitHub: https://github.com/antonputra
► Email: me@antonputra.com
#authentication #devops
Anton Putra
AWS - GCP - Azure - Kubernetes - Terraform
...