AWS Cognito : [ refused to connect]

Whats Up Streamlit Family.

I have set up user authentication through cognito and it works perfectly.

However when I deploy my app via streamlit cloud the signin/signup links return the error
[ refused to connect.]

But if i copy the link and paste it in my browser it works. Any thoughts on how to fix this?

Hey @Syrup,

Thanks for sharing your question! Can you share a link to your GitHub repo and/or a code snippet so we can try to reproduce this behavior?

Thanks for the response I posted the code below

#SignIn Button That Brings User Back To Homepage
sign_in_to_homepage = sidebar.markdown(‘’’

Sign In

‘’', unsafe_allow_html=True)


#SignIn Button That Brings User Back To Homepage
        sign_in_to_homepage = sidebar.markdown(''' <a target="_self" href="">
                                Sign In
                            </a>''', unsafe_allow_html=True)

The link works fine when i run this locally and if i just copy and paste the link in my browser. (Even the link works here in the button above)However whenever I click on this button via the app thats deployed running via the streamlit cloud I get the error message below from my browser

the app url in the streamit cloud that is not working is:

I posted the code above