Cannot open a github link in the Streamlit Cloud

I deploy an app to streamlit cloud which works properly locally. It fails with the following error when I click Click to login. The following error can be found in the browser’s dev console.

Streamlit Demo App · Streamlit (st-hack.streamlit.app)

Refused to frame 'https://github.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".

():2940  Uncaught TypeError: Cannot read properties of null (reading 'classList')
    at HTMLDocument.onDocumentLoad (():2940:19)
auryc.lib.js:6  Uncaught DOMException: Failed to read a named property 'href' from 'Location': Blocked a frame with origin "https://st-hack.streamlit.app" from accessing a cross-origin frame.
    at oZ.value (https://cdn.heapanalytics.com/js/replay/libs/latest/auryc.lib.js:6:221111)
    at HTMLIFrameElement.<anonymous> (https://cdn.heapanalytics.com/js/replay/libs/latest/auryc.lib.js:6:224799)

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