Skip to content

Commit

Permalink
trying something new for a change. Maybe this'll work??
Browse files Browse the repository at this point in the history
  • Loading branch information
siddheshraze committed Sep 4, 2024
1 parent d7dec8b commit 1ebc0a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main-forestgeo-livesite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
echo AZURE_SQL_SCHEMA=${{ secrets.AZURE_SQL_SCHEMA }} >> frontend/.env
echo AZURE_SQL_CATALOG_SCHEMA=${{ secrets.AZURE_SQL_CATALOG_SCHEMA }} >> frontend/.env
echo AZURE_STORAGE_CONNECTION_STRING=${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} >> frontend/.env
echo NEXTAUTH_DEBUG=true >> frontend/.env
echo NODE_ENV=development >> frontend/.env
echo PORT=3000 >> frontend/.env
echo FG_PAT=${{ secrets.FG_PAT }} >> frontend/.env
Expand Down
6 changes: 3 additions & 3 deletions frontend/app/api/auth/[[...nextauth]]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const handler = NextAuth({
secret: process.env.NEXTAUTH_SECRET as string,
providers: [
AzureADProvider({
clientId: process.env.AZURE_AD_CLIENT_ID_DEVELOPMENT!,
clientSecret: process.env.AZURE_AD_CLIENT_SECRET_DEVELOPMENT!,
tenantId: process.env.AZURE_AD_CLIENT_ID_DEVELOPMENT!,
clientId: process.env.AZURE_AD_CLIENT_ID!,
clientSecret: process.env.AZURE_AD_CLIENT_SECRET!,
tenantId: process.env.AZURE_AD_CLIENT_ID!,
authorization: { params: { scope: 'openid profile email user.Read' } }
})
],
Expand Down

0 comments on commit 1ebc0a1

Please sign in to comment.