Streamlit-Authenticator icon indicating copy to clipboard operation
Streamlit-Authenticator copied to clipboard

I get logged out every time I refresh the page since v4.1

Open kaikenshu opened this issue 1 year ago • 10 comments

This only happens on the deployed version since I updated it to v4.1. On local environment it works fine.

kaikenshu avatar Oct 08 '24 03:10 kaikenshu

Can you provide more info? Where have you deployed to?

mkhorasani avatar Oct 08 '24 07:10 mkhorasani

The streamlit community cloud. It seems like there was a similar issue back in August. I don’t know why it happened to me now. It was fine when I was using v3.3.

On Tue, Oct 8, 2024 at 12:23 AM Mohammad Khorasani @.***> wrote:

Can you provide more info? Where have you deployed to?

— Reply to this email directly, view it on GitHub https://github.com/mkhorasani/Streamlit-Authenticator/issues/221#issuecomment-2399048791, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKBPZHOO6GD5APLNHW5RP2DZ2OB6VAVCNFSM6AAAAABPRHCZP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJZGA2DQNZZGE . You are receiving this because you authored the thread.Message ID: @.***>

kaikenshu avatar Oct 08 '24 17:10 kaikenshu

The streamlit community cloud. It seems like there was a similar issue back in August. I don’t know why it happened to me now. It was fine when I was using v3.3. On Tue, Oct 8, 2024 at 12:23 AM Mohammad Khorasani @.> wrote: Can you provide more info? Where have you deployed to? — Reply to this email directly, view it on GitHub <#221 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKBPZHOO6GD5APLNHW5RP2DZ2OB6VAVCNFSM6AAAAABPRHCZP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJZGA2DQNZZGE . You are receiving this because you authored the thread.Message ID: @.>

It seem's to be an issue particular to Streamlit v1.37 deployed on Streamlit cloud! I am experiencing the same issue and it is very frustrating. In the mean time perhaps you can look for other cloud providers?

mkhorasani avatar Oct 08 '24 17:10 mkhorasani

Good to know that’s it’s a v1.37 issue. Thank you!

On Tue, Oct 8, 2024 at 10:39 AM Mohammad Khorasani @.***> wrote:

The streamlit community cloud. It seems like there was a similar issue back in August. I don’t know why it happened to me now. It was fine when I was using v3.3. … <#m_6348178027365089832_> On Tue, Oct 8, 2024 at 12:23 AM Mohammad Khorasani @.> wrote: Can you provide more info? Where have you deployed to? — Reply to this email directly, view it on GitHub <#221 (comment) https://github.com/mkhorasani/Streamlit-Authenticator/issues/221#issuecomment-2399048791>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKBPZHOO6GD5APLNHW5RP2DZ2OB6VAVCNFSM6AAAAABPRHCZP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJZGA2DQNZZGE https://github.com/notifications/unsubscribe-auth/BKBPZHOO6GD5APLNHW5RP2DZ2OB6VAVCNFSM6AAAAABPRHCZP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJZGA2DQNZZGE . You are receiving this because you authored the thread.Message ID: @.>

It seem's to be an issue particular to Streamlit v1.37 deployed on Streamlit cloud! I am experiencing the same issue and it is very frustrating. In the mean time perhaps you can look for other cloud solutions?

— Reply to this email directly, view it on GitHub https://github.com/mkhorasani/Streamlit-Authenticator/issues/221#issuecomment-2400456849, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKBPZHPHNM6OIZNOGYPZ5SDZ2QKDNAVCNFSM6AAAAABPRHCZP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBQGQ2TMOBUHE . You are receiving this because you authored the thread.Message ID: @.***>

kaikenshu avatar Oct 08 '24 19:10 kaikenshu

Sorry to do a "me too"... but me too.

When I run locally from my command line and using localhost, it's fine. But the same app deployed to Streamlit Community Cloud logs you out when you refresh the page. And it also seems to be triggered by things other than a refresh, but the refresh is the main one.

A month or two ago the Steamlit Cloud deployment was fine. Then this issue started happening, and it's really bothering my users. 🫤

Locally I'm using Streamlit 1.37.1. Sorry, I don't know what Streamlit Cloud uses, nor which version this started happening.

robinzimmermann avatar Oct 16 '24 05:10 robinzimmermann

Sorry to do a "me too"... but me too.

When I run locally from my command line and using localhost, it's fine. But the same app deployed to Streamlit Community Cloud logs you out when you refresh the page. And it also seems to be triggered by things other than a refresh, but the refresh is the main one.

A month or two ago the Steamlit Cloud deployment was fine. Then this issue started happening, and it's really bothering my users. 🫤

Locally I'm using Streamlit 1.37.1. Sorry, I don't know what Streamlit Cloud uses, nor which version this started happening.

I totally understand the frustration, and I promise to do something about it! Thank you for your patience.

mkhorasani avatar Oct 16 '24 07:10 mkhorasani

Sorry but any update on this issue? I also have same issue - when user hard refresh the page, get logged out every time. It only happens in my Community Cloud not locally. I also try to dump my yaml config file any time page render but not work. Thanks!

iam1492 avatar Dec 29 '24 00:12 iam1492

it happens to me too if i run app on Amazon EC2.

JurijsNazarovs avatar Jan 04 '25 05:01 JurijsNazarovs

Following up re: updates. I also have this issue on EC2.

jasminebilir avatar Feb 19 '25 21:02 jasminebilir

I also have this issue on streamlit community cloud. on my local environment it works perfectly, but everytime the page refreshes, the user has to log in again... Please let us know if there is an update!

adamk9885 avatar Feb 27 '25 17:02 adamk9885