From 8b3a9ca74e3f51bc783abea4a1fd4f9404642ee1 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 9 Sep 2024 22:54:55 +0100 Subject: [PATCH] Attempting to serve static file --- src/app/api/auth/[...nextauth]/route.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/api/auth/[...nextauth]/route.ts b/src/app/api/auth/[...nextauth]/route.ts index bd4ae388..96517f0c 100644 --- a/src/app/api/auth/[...nextauth]/route.ts +++ b/src/app/api/auth/[...nextauth]/route.ts @@ -36,6 +36,11 @@ export const AuthOptions: NextAuthOptions = { clientId: AZURE_AD_CLIENT_ID, clientSecret: AZURE_AD_CLIENT_SECRET, tenantId: AZURE_AD_TENANT_ID, + authorization: { + params: { + prompt: "consent", + }, + }, }), ], pages: {