π 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! π
