From 9852110fcd78f51fda4336ebb3d3699b81a468cb Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 15 Apr 2026 14:57:10 +0100 Subject: [PATCH] vault backup: 2026-04-15 14:57:10 --- 01 Projects/hp-prod-tracker/Hp Prod Tracker.md | 5 +++++ 99 Daily/2026-04-15.md | 3 +++ 2 files changed, 8 insertions(+) diff --git a/01 Projects/hp-prod-tracker/Hp Prod Tracker.md b/01 Projects/hp-prod-tracker/Hp Prod Tracker.md index 7339f05..6a98888 100644 --- a/01 Projects/hp-prod-tracker/Hp Prod Tracker.md +++ b/01 Projects/hp-prod-tracker/Hp Prod Tracker.md @@ -23,6 +23,10 @@ created: 2026-04-15 - **Local path:** `/Volumes/SSD/Projects/Oliver/hp-prod-tracker` ## Sessions +### 2026-04-15 – Developer asked to troubleshoot SSO redirect +**Asked:** Developer asked to troubleshoot SSO redirect URI mismatch error from Microsoft Entra ID. +**Done:** Identified that AUTH_URL in .env incorrectly includes `/api/auth` suffix, causing the redirect URI to be duplicated. + ### 2026-04-15 – Diagnose why SSO redirect URI doesn't **Asked:** Diagnose why SSO redirect URI doesn't match Azure configuration. **Done:** Identified that AUTH_URL is missing the `/hp-prod-tracker` basePath, causing the redirect URI mismatch with Azure Entra ID settings. @@ -35,6 +39,7 @@ created: 2026-04-15 ## Change Log | Date | Requested | Changed | Files | |------|-----------|---------|-------| +| 2026-04-15 | SSO redirect URI fix | Remove `/api/auth` from AUTH_URL in .env, update AUTH_URL to base path only | .env, src/lib/auth.ts | | 2026-04-15 | SSO redirect URI mismatch | AUTH_URL basePath missing, redirectProxyUrl construction | .env, src/lib/auth.ts | | 2026-04-15 | SSO redirect URI mismatch | Review .env configuration and git history | .env, auth config files | diff --git a/99 Daily/2026-04-15.md b/99 Daily/2026-04-15.md index b9b3c29..63172e1 100644 --- a/99 Daily/2026-04-15.md +++ b/99 Daily/2026-04-15.md @@ -105,3 +105,6 @@ tags: [daily] - 14:53 | `hp-prod-tracker` - **Asked:** Diagnose why SSO redirect URI doesn't match Azure configuration. - **Done:** Identified that AUTH_URL is missing the `/hp-prod-tracker` basePath, causing the redirect URI mismatch with Azure Entra ID settings. +- 14:56 | `hp-prod-tracker` + - **Asked:** Developer asked to troubleshoot SSO redirect URI mismatch error from Microsoft Entra ID. + - **Done:** Identified that AUTH_URL in .env incorrectly includes `/api/auth` suffix, causing the redirect URI to be duplicated.