{"repo":"jonathanpotts/aspire-nextjs-keycloak","free":true,"listed":false,"github":"https://github.com/jonathanpotts/aspire-nextjs-keycloak","clone":"git clone https://github.com/jonathanpotts/aspire-nextjs-keycloak.git","description":"Example project using Aspire with a Next.js (React) frontend, an ASP.NET Core backend, and Keycloak for authentication.","language":"C#","stars":13,"topics":["asp-net-core","aspire","csharp","dotnet","dotnet-core","keycloak","react","typescript","app-router","react-server-components"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"aspire-nextjs-keycloak Example project using Aspire with a Next.js (React) frontend, an ASP.NET Core backend, and Keycloak for authentication. 📋 Requirements This project requires the following: - .NET SDK 10.0 or later - Node.js 20.9.0 or later - Docker Desktop or Podman 🚀 Running To run this project, do the following: 1. Start Docker Desktop or Podman if it is not already running 2. Use one of the following: - .NET CLI : In the AspireNextjsKeycloak.AppHost directory, run dotnet run and then open the dashboard using the URL output to the console. - Aspire CLI : In the repo directory, run aspire run and then open the dashboard using the URL output to the console. - Code Editor/IDE : Use the run command in a code editor or IDE such as Visual Studio Code. The default users are: Username Password - - alice alice bob bob 🗂️ Projects AspireNextjsKeycloak.AppHost An Aspire AppHost which handles orchestration and hosts the Aspire dashboard. Uses: - Aspire.Hosting.Keycloak - Handles starting up the Keycloak container and importing the realm data - Aspire.Hosting.JavaScript - Handles launching and configuring the Node.js-based frontend project AspireNextjsKeycloak.ApiService An ASP.NET Core minimal APIs backend which requires authorization from Keycloak. Uses: - Aspire.Keycloak.Authentication - Handles configuring authentication settings for Keycloak webfrontend A Next.js frontend using the App Router and React Server Components that authenticates the user and displays data from th","default_branch":null,"files":null,"tree":[],"storefront":"/r/jonathanpotts","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jonathanpotts/aspire-nextjs-keycloak/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}