Add custom HTTP response header

Hey all,
We have a set of Streamlit apps running on a web server (which we don’t control), which by default adds the following HTTP response header: X-Frame-Options: deny. This causes Streamlit components to fail to load (Your app is having trouble loading the st_aggrid.agGrid component).
Is there any way on the Streamlit side to start an app with X-Frame-Options: SAMEORIGIN?
Thanks in advance!

2 Likes

Any chance this will get added or did someone manage to find a workaround?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.