How to include httpOnly cookies in API call?

Hi community!

I have a streamlit application deployed on AWS in a corporate environment. There’re httpOnly cookies as log in credentials set by other internal services. I need to pass those cookies along when I call a downstream service API. I’ve tried the cookie_manager.get_all() method but it doesn’t return httpOnly cookies (please correct me if I’m wrong).

Is there anything in the extra_streamlit_components or any other streamlit libraries that works similar to the Axios’s “include credentials” option, so that I can include these httpOnly cookies in an API call?

1 Like

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