A Kit Starter project using Microsoft Graph with Next.js
MIT License
A Kit Starter project using Microsoft Graph with Next.js
demo-01 -> authentication-app
and run the command:npm install
.env.local
(in the root of the project) and include this information below:AZURE_AD_CLIENT_ID=<copy Application (client) ID here>
AZURE_AD_CLIENT_SECRET=<copy generated client secret value here>
AZURE_AD_TENANT_ID=<copy the tenant id here>
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=
if you're Linux user and want to generate a NEXTAUTH_SECRET: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
npm run dev
http://localhost:3000
If you have any questions about the code developed, feel free to open an ISSUE HERE. We'll get back to you soon!