Commit graph

3 commits

Author SHA1 Message Date
Vadym Samoilenko
b13985e5a7 Fix redirect URI trailing slash for MSAL AADSTS50011 error
Add trailing slash to AZURE_REDIRECT_URI to match what MSAL.js 2.x
automatically appends when sending authorization requests to Azure AD.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 09:42:21 +00:00
Vadym Samoilenko
523be058aa Add Azure AD / MSAL SSO authentication
- config.php: Azure tenant/client constants, SSO_ENABLED = true
- auth.php: requireAuth() middleware, getSafeUser(), getUserDataFile()
- auth_gate.php: MSAL.js PKCE login flow, stores return URL in sessionStorage
- logout.php: destroys PHP session + calls msalInstance.logoutRedirect()
- api.php: public create_session endpoint (JWT validation), 401 guard on all other actions, per-user data files (data_{safeUser}.json)
- sheet_helpers.php: fix dot sanitisation '_' → '_dot_' to match getSafeUser()
- index/builder/help.php: requireAuth() at top, user email + Sign Out in header

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 21:43:32 +00:00
DJP
0939fbfb33 Initial commit: WSJ Filename Creator
Converted Activation Calendar to filename creator for digital banners.

Features:
- Filename format: JOBNUMBER_PROJECTNAME_SIZE_UNIT.png
- Conversational AI with Google Gemini 2.0
- Voice recognition support
- Auto-concatenation of filename parts
- Campaign save/load functionality
- WSJ styling: white background, black text, Georgia headlines
- Export to CSV and copy filenames to clipboard

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2025-12-16 13:40:59 -05:00