A New Collection of Thoughtful Learning Apps — Now Available on iOS & Android

Image
I’m excited to share a set of mobile apps I’ve recently completed and published on both the Google Play Store and the Apple App Store. These apps are designed with a simple goal in mind: to make meaningful, structured content more accessible, whether you’re studying theology or improving your English vocabulary. 📱 Now Available on Both Platforms All apps are live and available for download: Google Play Developer Page: https://play.google.com/store/apps/dev?id=5835943159853189043 Apple App Store Developer Page: https://apps.apple.com/ca/developer/q-z-l-corp/id1888794100 📖 Theology & Confession Study Apps For those interested in Reformed theology and classical Christian teachings, I’ve developed a series of apps that present foundational texts in a clean, focused reading format: The Belgic Confession Canons of Dort Heidelberg Catechism Westminster Shorter Catechism Each app is designed to provide a distraction-free experience, making it easier to read, reflect, and revisit these im...

Next.js + NextAuth.js Frontend SSO Series

Next.js + NextAuth.js Frontend SSO Series

This series covers everything you need to implement SSO in a Next.js frontend using NextAuth.js and Keycloak (or other OAuth2/OIDC providers). From basic setup to advanced flows and security hardening, follow these posts step by step.


Series Overview

  1. Introduction to NextAuth.js and SSO Learn what NextAuth.js is, how it works, and how to start integrating SSO in your Next.js app.
  2. Integrating Keycloak with NextAuth.js Step-by-step guide to connect Keycloak with NextAuth.js and handle login flow.
  3. Handling Session, Roles, and Protected Routes Learn to manage sessions, enforce roles, and protect pages and API routes in Next.js.
  4. Debugging SSO in Next.js Tips and best practices for debugging common SSO issues like token expiration and redirect loops.
  5. Refreshing Access Tokens for Linked Accounts Ensure linked accounts always have the latest access token on every login.
  6. Manager Approval Flow with Popup Login Implement a popup-based manager approval flow, with token validation, role checking, and logout cleanup.
  7. Security Hardening and Best Practices Production-ready SSO security practices, including cookie settings, token rotation, and CSRF/CORS protection.

Recommended Reading Order

  • Start with post 1 for SSO basics
  • Follow posts 2–4 for setup, session handling, and debugging
  • Advanced flows: posts 5–6
  • End with post 7 for security best practices

About This Series

By the end of this series, you will be able to:

  • Integrate Keycloak (or other OAuth2/OIDC provider) with Next.js frontend
  • Manage sessions, roles, and protected pages
  • Implement advanced login flows like manager approval in popups
  • Debug token issues and redirect problems
  • Follow production-grade security best practices for SSO

This series is part of Lengerrong Blog. Click on each post above to read the full tutorial.

Comments

Popular Posts

2026 Begins: Choosing to Stay on the Path as a Blogger

Health Checks and Scaling Strategies for Next.js in Kubernetes