This repository is a part of a blog which explains how to use keycloak as a authentication broker for a NextJS v13 application. Please go through this blog
docker compose up -d
Please note that the above method cannot be used for production.
NODE_OPTIONS='--dns-result-order=ipv4first' npm run dev
npm run build
Open http://localhost:3000 with your browser to see the result.
NODE_OPTIONS='--dns-result-order=ipv4first' npm start
Make sure to setup the environment variables.