https://prefect.io logo
b

Ben Muller

01/05/2023, 6:22 PM
Is there anyway to configure a longer token expiry when logged in to the cloud UI? I'm finding myself having to send a password about 5 times a day.
upvote 1
k

Kalise Richmond

01/05/2023, 6:26 PM
Hi @Ben Muller, the login token should be active for 7 days and should continue to automatically refresh when your logged in. Do you have something that is automatically clearing cache and cookies in your browser or network?
b

Ben Muller

01/05/2023, 7:17 PM
I use brave browser ?
c

Chris Whatley

01/05/2023, 8:10 PM
I’m authenticating via google and have been booted out at least three times today. I don’t have any issues staying logged-in to other sites. Using Safari.
k

Kalise Richmond

01/05/2023, 8:17 PM
Ah ok I'm getting some clarification from our engineers. It looks like the session expires after 2 hours of last token fetched which means if you don’t have the app open and active you will be logged out 2 hours after the last time you were using the app.
b

Ben Muller

01/05/2023, 8:18 PM
My tab is open, but it still boots me. Not ideal. No way to customise that or its a hard limit?
Definitely happens under 2 hours sometimes btw.
k

Kalise Richmond

01/05/2023, 8:24 PM
It sounds like most browsers do quite a bit of memory management in the background for you and can have their own definitions of “active”. depending on the browser, the process or workers that we use to maintain token freshness may or may not be running if you’re not actively using the app. that’s the reason when you come back to a tab after a long time it’ll “refresh” the page. We're looking into ways to customize this but right now theres not an option 😞
1
b

Ben Muller

01/05/2023, 9:26 PM
One thing that could be awesome to mitigate this issue ( if possible ) would be if we could enter a command in the CLI ( which is forever authenticated ) and it launches a browser with a token.
m

Michael Viescas

01/07/2023, 3:55 PM
I am being horribly inconvenienced by this change as well. I used to have to log in once daily and now I have to do it every half hour or so if I'm not actively clicking in Prefect UI every minute. I'm on Firefox.
💯 1
gratitude thank you 1
a

Anna Geller

01/08/2023, 8:37 PM
We're looking into ways to customize this
@Kalise Richmond is there a GitHub issue we could collect info and send to people for tracking?
k

Kalise Richmond

01/10/2023, 7:32 PM
We're looking into this currently but there is no GitHub issue
j

Jeff Hale

01/10/2023, 9:37 PM
This should be fixed now. 🙂
🙌 1
gratitude thank you 1
❤️ 1
b

Ben Muller

01/21/2023, 8:39 PM
Hey @Jeff Hale, has something recently changed with this? I'm facing similar issues again. Been logged out 3 times in an hour.
j

Jeff Hale

01/22/2023, 1:15 AM
Not that I know of. I'll check.
🙌 1
I've raised internally and the team will be investigating further.
b

Ben Muller

01/22/2023, 6:59 PM
Thank you
3 Views