🚀 New Project: Keycloak + Next.js Start ...

🚀 New Project: Keycloak + Next.js Starter

Sep 13, 2025

🚀 New Project: Keycloak + Next.js Starter

Hey everyone — I’ve just released a starter template called Keycloak + Next.js (NextAuth)! It gives you a fast, working foundation for adding authentication to a Next.js 14 app, using Keycloak as the identity provider.

🔍 What you get

  • Next.js 14 + TypeScript

  • Keycloak with NextAuth (OIDC)

  • JWT sessions — no database required for auth

  • A protected route example so you can see how to guard pages

  • Docker Compose setup for Keycloak with a pre-configured realm & client

  • Sample env file so you can plug in your own settings quickly

💡 Why this matters

Setting up authentication properly is always one of the trickier parts of a web project — redirect URIs, sessions, client setup, etc. With this starter, you can skip the tedious setup part and jump right into building features.

❤️ Support & Feedback

If you find this repo helpful, here are a few ways you can help out:

  • ⭐ Star the repo on GitHub

  • 🔁 Share it with your dev friends

  • 📝 Report issues / suggest improvements

  • ☕ Buy me a coffee — your support helps me keep maintaining, improving, and creating more open source tools like this.

GitHub Repo: CyberSquirrelSlo/keycloak-next-starter

Thank you for your support! 🙌

Gefällt dir dieser Beitrag?

Kaufe Leposava Knez einen cup of java

Mehr von Leposava Knez

DatenschutzNutzungsbedingungenMelden