The Archive

Filter through devotional insights, biblical studies, and engineering guidelines.

Implementing Google OAuth in Next.js
APIs

Implementing Google OAuth in Next.js

A step-by-step guide to implementing Google OAuth, from redirecting users to exchanging authorization codes and retrieving user information.

KUZUE7 min read
APIs

Building a simple Authentication in Nextjs part 4 Logout logic

Logging out requires two steps: 1. Remove the session token from the database. 2. Delete the session token from the cookie store. Recall that cookies are small pieces of information that the server sends to the browser. They are sent through the HTTP `Set-Cookie` header and are automatically included in future requests by the browser.

KUZUE2 min read