From cf1045bb6e3d10f8d651806481e1ae5a2ff8242d Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Thu, 16 Apr 2026 19:03:05 +0100 Subject: [PATCH] vault backup: 2026-04-16 19:03:05 --- 01 Projects/hp-prod-tracker/Hp Prod Tracker.md | 10 ++++++++++ 99 Daily/2026-04-16.md | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/01 Projects/hp-prod-tracker/Hp Prod Tracker.md b/01 Projects/hp-prod-tracker/Hp Prod Tracker.md index c6e3f2d..d0563f6 100644 --- a/01 Projects/hp-prod-tracker/Hp Prod Tracker.md +++ b/01 Projects/hp-prod-tracker/Hp Prod Tracker.md @@ -23,6 +23,14 @@ created: 2026-04-15 - **Local path:** `/Volumes/SSD/Projects/Oliver/hp-prod-tracker` ## Sessions +### 2026-04-16 – Configure SSO with Azure credentials for +**Asked:** Configure SSO with Azure credentials for SPA browser-based token exchange. +**Done:** Set up Azure SSO with tenant/client IDs and redirect URI, pushed to git, and verified authentication works but user account needs organization binding in database. + +### 2026-04-16 – Configure SSO with Azure credentials for +**Asked:** Configure SSO with Azure credentials for browser-based token exchange. +**Done:** Set up Azure SSO with provided credentials, pushed to git, and verified successful authentication on server after env variable updates. + ### 2026-04-16 – Configure SSO with Azure credentials for **Asked:** Configure SSO with Azure credentials for browser-based token exchange. **Done:** Implemented MSAL.js-based SPA authentication flow with updated login component and API endpoint. @@ -179,6 +187,8 @@ created: 2026-04-15 ## Change Log | Date | Requested | Changed | Files | |------|-----------|---------|-------| +| 2026-04-16 | SSO setup | Azure credentials added, env vars configured, SSO authentication verified | .env, auth config files | +| 2026-04-16 | SSO setup | Azure credentials configured, env variables renamed (AUTH_MICROSOFT_ENTRA_ID_ID→AZURE_CLIENT_ID, AUTH_MICROSOFT_ENTRA_ID_TENANT_ID→AZURE_TENANT_ID), AUTH_URL removed | .env, docker-compose configuration | | 2026-04-16 | SSO setup | MSAL.js integration, env variable mapping (AUTH_MICROSOFT_ENTRA_ID_ID→AZURE_CLIENT_ID, AUTH_MICROSOFT_ENTRA_ID_TENANT_ID→AZURE_TENANT_ID), removed AUTH_URL | MsalLogin.tsx, auth/sso/route.ts, .env | | 2026-04-16 | SSO setup | Azure credentials configured, MSAL.js flow implemented, OAuth relay removed | MsalLogin.tsx, src/app/api/auth/sso/route.ts, .env | | 2026-04-16 | Azure SSO setup | Added AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_REDIRECT_URI environment variables, removed old auth references | .env, auth.tsx, config.ts | diff --git a/99 Daily/2026-04-16.md b/99 Daily/2026-04-16.md index c5f1e32..39802ed 100644 --- a/99 Daily/2026-04-16.md +++ b/99 Daily/2026-04-16.md @@ -155,3 +155,9 @@ tags: [daily] - 19:00 | `hp-prod-tracker` - **Asked:** Configure SSO with Azure credentials for browser-based token exchange. - **Done:** Implemented MSAL.js-based SPA authentication flow with updated login component and API endpoint. +- 19:01 | `hp-prod-tracker` + - **Asked:** Configure SSO with Azure credentials for browser-based token exchange. + - **Done:** Set up Azure SSO with provided credentials, pushed to git, and verified successful authentication on server after env variable updates. +- 19:02 | `hp-prod-tracker` + - **Asked:** Configure SSO with Azure credentials for SPA browser-based token exchange. + - **Done:** Set up Azure SSO with tenant/client IDs and redirect URI, pushed to git, and verified authentication works but user account needs organization binding in database.