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>
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>
- 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>