From c0c2fbeb7932c574f8334036f664411a088fbdd0 Mon Sep 17 00:00:00 2001 From: MocicaRazvan Date: Tue, 16 Jan 2024 06:43:01 +0200 Subject: [PATCH] Updated readme to reflect next-auth needs --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9369d4e..7560a6d 100644 --- a/README.md +++ b/README.md @@ -42,3 +42,11 @@ To check for code issues using [ESLint](https://eslint.org/), run: ```bash npm run lint ``` + +To be able to run the authentication flow in the application, using [Next-Auth](https://next-auth.js.org/) and [Entra Id (Azure Active Directory Proivder)](https://next-auth.js.org/providers/azure-ad) , create and `.env.local` file and add these 5 keys: + +1. `NEXTAUTH_SECRET` +2. `NEXTAUTH_URL` +3. `AZURE_AD_CLIENT_ID` +4. `AZURE_AD_CLIENT_SECRET` +5. `AZURE_AD_TENANT_ID`