πŸš€ 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! πŸ™Œ

Ti piace questo post?

Offri un cup of java a Leposava Knez

Altro da Leposava Knez

PrivacyTerminiRapporto