Spaces:
Sleeping
Sleeping
Commit History
-
feat: ALLOWED_USERS allowlist authorization (require_authorized) after login — server-side enforcement; unset secret = allow all (no lockout); themed denial card + logout
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NQMBLPhJZUBCX7io3uwEnR5ec0721
-
Auto-form: enlarge login lock icon (58->78px tile, 26->36px glyph)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>59262ca -
Auto-form: demote login lock icon so it doesn't read as a button
Flat peach-tinted tile with an orange glyph (was a solid orange-gradient tile with a drop shadow, which competed with the real Microsoft CTA). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>f523c9f -
Auto-form: switch to warm peach light theme + reshape hero header
- Convert dark ember theme to light warm-peach/orange palette across config.toml, streamlit_app.py and auth_gate.py (login + topbar). - Reshape hero to the reference: PTT pill, DOCUMENT GENERATOR eyebrow, two-tone Auto Form wordmark, and a highlighted subtitle (ระบบสร้าง[หนังสือแจ้งเข้าเริ่มงาน]อัตโนมัติ). - Drop the description paragraph and feature line from the hero. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>4e06d98 -
Auto-form: declutter the login card (remove redundant text)
Drop the two description lines, the Entra-ID/'เฉพาะบัญชีองค์กร' footer badges, and the 'ปุ่มไม่ทำงาน? เปิดแบบเต็มหน้าจอ' hint, plus their orphaned CSS. Login card is now just header + lock + 'เข้าสู่ระบบ' + the Microsoft button. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>ea6ec06
-
Login: add full-screen escape hatch for embedded (iframe) case
When the app is opened from the HF Space page it runs in an iframe, where st.login()'s redirect is blocked by Microsoft's frame-busting ("nothing happens"). Add a host-agnostic link (href="/" target="_blank") to reopen the app top-level where sign-in works. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>3c3b156 -
Harden login gate: graceful message when auth not configured
Instead of letting st.login() raise StreamlitAuthError (raw traceback) when no [auth] provider is configured, detect configuration and show a clean "sign-in not set up" notice; also wrap st.login() in try/except. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>97656a9 -
Add Microsoft Entra ID login + ember dark theme
- Gate the whole app behind Streamlit native OIDC sign-in (auth_gate.py), reusing the existing Azure App Registration. Auth config lives in a gitignored .streamlit/secrets.toml locally, and is built at container start from HF Space secrets by entrypoint.sh. - Retheme to a black + burnt-orange ember palette across the login pass, hero, stepper, cards, inputs and buttons (+ config.toml). - requirements: streamlit>=1.42, add Authlib. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>e6660cd