I built an app that authenticates via pingfederate OAUTH2. It requires some Flask server components that work with pingfederate. Ultimately, the Flask server responds back to the Streamlit App with a redirect to my application with some authorization parameters returned in the URI. The NEW page loads (old page is also running) and displays the parameters in the browser URL but streamlit does not see them when calling st.query_params (st.query_params is actually showing None). If I call st.experimental_get_query_params the parameters are visible and correct.
Before redirect:
After redirect:
The code:
st.write(‘st.experimental_get_query_params()’)
st.write(st.experimental_get_query_params())
st.write(‘st.query_params’)
st.write(st.query_params)