Databricks UI and Backend Deployment Issue

MrChromatic
New Contributor II

Hi everyone,

I’m deploying a frontend (Streamlit) and backend (FastAPI) as two separate Databricks Apps within the same workspace, both with user authentication enabled.

The frontend makes a server-side HTTP request to the backend app URL when a user submits a request. However, instead of receiving a JSON response from the backend, the request is intercepted by the Databricks authentication layer and returns the Databricks Sign In HTML page.

This HTML response then causes JSON parsing to fail on the frontend side. I’d like to understand whether deploying frontend and backend as two separate Databricks Apps is the recommended pattern for this type of setup, and how inter-app communication is expected to work when the authentication layer intercepts backend calls made programmatically from another app.