From 83bb8f8fa2e4e79a08fdda9f7389e9ac8e791500 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Mon, 30 Mar 2026 11:21:46 +0100 Subject: [PATCH] Fix redirect URI trailing slash to match Azure AD registration Azure AD has /gsb/ registered, msalConfig had /gsb without slash. AADSTS50011 error due to mismatch. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/auth/msalConfig.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/auth/msalConfig.ts b/frontend/src/auth/msalConfig.ts index fe93485..651dd72 100644 --- a/frontend/src/auth/msalConfig.ts +++ b/frontend/src/auth/msalConfig.ts @@ -4,8 +4,8 @@ export const msalConfig: Configuration = { auth: { clientId: '9079054c-9620-4757-a256-23413042f1ef', authority: 'https://login.microsoftonline.com/e519c2e6-bc6d-4fdf-8d9c-923c2f002385', - redirectUri: 'https://optical-dev.oliver.solutions/gsb', - postLogoutRedirectUri: 'https://optical-dev.oliver.solutions/gsb', + redirectUri: 'https://optical-dev.oliver.solutions/gsb/', + postLogoutRedirectUri: 'https://optical-dev.oliver.solutions/gsb/', }, cache: { cacheLocation: 'localStorage',