Issue with Page Refresh in Multi-Page Streamlit App Using st.Page, st.navigation, and streamlit-authenticator

Hello,

I am developing a multi-page application using st.Page, st.navigation, and the streamlit-authenticator library. After logging into the app, if I navigate to any page other than the home page and then refresh the page, I encounter an error with st.dialog displaying the following message: “The page that you have requested does not seem to exist. Running the app’s main page.”
Anyone with similar issue and have solved it?
streamlit v1.38
Python 3.12

Dealing with this exact same issue, Did you ever figure out a solution?

Hello,

I noticed that this problem doesn’t occur for me in the streamlit-authenticator lastest version (0.41).
Which version of the authenticator library are you using?