From 7a5120bb9cbc25f6cbe59b2eabe9744800d279d2 Mon Sep 17 00:00:00 2001 From: Eduardo Lelis Date: Fri, 1 Aug 2025 16:53:24 -0300 Subject: [PATCH] Add missing authorization url --- apps/web/utils/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/utils/auth.ts b/apps/web/utils/auth.ts index fb5969565a..26dc4fa436 100644 --- a/apps/web/utils/auth.ts +++ b/apps/web/utils/auth.ts @@ -106,12 +106,12 @@ export const getAuthOptions: () => NextAuthConfig = () => ({ clientSecret: env.MICROSOFT_CLIENT_SECRET, allowDangerousEmailAccountLinking: true, authorization: { + url: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", params: { scope: OUTLOOK_SCOPES.join(" "), prompt: "consent", }, }, - checks: ["none"], }), ], adapter: {