{"repo":"matt-wigg/next-15-azure-auth","free":true,"listed":false,"github":"https://github.com/matt-wigg/next-15-azure-auth","clone":"git clone https://github.com/matt-wigg/next-15-azure-auth.git","description":"A Next.js v15+ template with Tailwind v3+, featuring Microsoft Entra ID authentication via Next-Auth v5+ and a Microsoft Graph Client integration.","language":"TypeScript","stars":11,"topics":["microsoft-entra-id","microsoft-graph-client","next-auth-v5","nextjs15-typescript","tailwindcss-v3","template"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Next-15-Azure-Auth Next-15-Azure-Auth is a starter template for building secure Next.js v15+ Tailwind apps with Microsoft Entra ID authentication. It uses the Next-Auth.js Library for authentication and the Microsoft Graph Client Library for fetching user data. Prerequisites Ensure the following are installed before running the application locally: - Node.js (v18.17+) & npm. - Azure account with app registration permissions in Microsoft Entra ID. Azure Setup for Microsoft Entra ID 1. Register the Application - Navigate to the Azure portal. - Go to Microsoft Entra ID App registrations New registration . - Name your application (e.g., Next-15-Azure-Auth ). - For Supported account types , choose Accounts in this organizational directory only . - In the Redirect URI field, set the following value: http://localhost:3000/api/auth/callback/microsoft-entra-id - Click Register to create the application. 2. Configure the Application - Once registered, navigate to the app's overview page: - Copy the Application (client) ID and set it in your .env file as AUTH MICROSOFT ENTRA ID ID . - Copy the Directory (tenant) ID and set it in your .env file as AUTH MICROSOFT ENTRA ID ISSUER . - Next, go to Certificates & secrets : - Under Client secrets , click New client secret . - Provide a description (e.g., Next-15-Azure-Auth Secret ) and choose an expiration period. - Once created, copy the generated secret value and set it in your .env file as AUTH MICROSOFT ENTRA ID SECRET . 3. Set Up API Perm","default_branch":null,"files":null,"tree":[],"storefront":"/r/matt-wigg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/matt-wigg/next-15-azure-auth/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."}