URL cannot be accessed via st.markdown(button, unsafe_allow_html=True)

I’ve integrated a google OAuth button in my streamlit. In my local host, the button works fine and it will redirect me to sign in via google. However, when i published the web app on streamlit cloud, the button will produce this error: The requested url could not be retrieved. However if i reclick the button and click open new link in window, the buttons is able to redirect me in a new tab. :frowning: weird issue.

Firefox is telling me this:

Firefox Can’t Open This Page

To protect your security, accounts.google.com will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.

Learn more…

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