How can I configure allowed measage origins in streamlit?

Hi everyone, can you please share a way to configure a list of allowed message origins in streamlit? Can I do it in .toml file now, or I can use an environmental variable somehow? I am using streamlit 1.30.0 and python 3.10.11. Thank you in advance.