Hi Sweaty,
I am currently working on a streamlit UI project with this component and it works really well. I know you haven't worked on it for a while but thanks for creating it.
The things I like the most are:
- I am able to maintain the Supabase session even if a reload the page, which is AWESOME.
- I lose conversation history as soon as I reload but I could probably obtain it in real-time straight from Supabase since the components maintain the session open until I logout.
- I can track usage straight from Supabase for each page and click as well. You could track everything with the proper code and session state variables. Who needs to pay for analytics 😄
HOWEVER, I cannot get the same results in production since I have not been able to change the localhost3000 issue or add a new redirection URI.
Why does it work so well in Dev but not so well in Production when I Deploy it as Docker image?. Am I missing something?
http://localhost:8501/#access_token=eyJhbGciOiJIU… DEV VENV Works!
http://localhost:3000/#access_token=eyJhbGciOiJIU… Docker, Replit, Streamlit Cloud. Doesn’t work 😦
I am not sure if the culprit is that an update is needed on the App.tsx file of the frontend or that the latest Streamlit version 1.32.0 just doesn't allow getting the access tokens from the url, but that'd be weird since it works in development, right? 🧐

Any tips on how to fix this issue would be appreciated. Thanks a bunch
Luis

Hi Sweaty,
I am currently working on a streamlit UI project with this component and it works really well. I know you haven't worked on it for a while but thanks for creating it.
The things I like the most are:
HOWEVER, I cannot get the same results in production since I have not been able to change the localhost3000 issue or add a new redirection URI.
Why does it work so well in Dev but not so well in Production when I Deploy it as Docker image?. Am I missing something?
http://localhost:8501/#access_token=eyJhbGciOiJIU… DEV VENV Works!
http://localhost:3000/#access_token=eyJhbGciOiJIU… Docker, Replit, Streamlit Cloud. Doesn’t work 😦
I am not sure if the culprit is that an update is needed on the App.tsx file of the frontend or that the latest Streamlit version 1.32.0 just doesn't allow getting the access tokens from the url, but that'd be weird since it works in development, right? 🧐
Any tips on how to fix this issue would be appreciated. Thanks a bunch
Luis
