Tag: OAuth
4 posts
-
OAuth 2.0 & JWT authentication — token login and refresh flows
JWT and OAuth 2.0: sessions vs tokens, authorization code flow, PKCE, token endpoint, scopes and consent, Node.js/Passport, Google and Kakao.
-
Authentication with Passport.js: Local Login, Google and GitHub OAuth, JWT and Session Stores
Adding authentication to Node.js with Passport.js: local username/password login, protected routes, Google and GitHub OAuth, JWT strategy, combining strategies, and production session stores.
-
Adding Auth to Next.js with Clerk: clerkMiddleware, Protected Routes, Webhooks and Orgs
Clerk auth in a Next.js App Router app with @clerk/nextjs v7: clerkMiddleware, auth.protect(), the Show component, verified webhooks for user sync and org roles.
-
Node.js Authentication and Security: JWT, bcrypt, and Sessions
Secure Node.js APIs: bcrypt password hashing, JWT access tokens with pinned algorithms, rotated and hashed refresh tokens, where to store tokens in the browser, sessions with a shared store, Passport OAuth, and the defaults that make auth code insecure.