You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Auto-forward to login screen without this message. I think this is the most common behaviour, I was surprised that the mentioned message showed up at all.
But maybe this is a required step so second option:
Show this message but make the "exit" link an actual link. Currently it seems it's just an anchor: <a id="exitAnchor">exit</a>
Apart from the reported bug, what do you mean by wait until session expires? As we have token renewal in place this should never happen... how to reproduce that? If I set the token lifetime to 1 minute (hardcoded in ocis and manually rebuild) the token renewal works as expected and I don't get logged out.
Not sure how it happens. I logged in yesterday, let it be, opened the browser tab today and this message appeared.
Maybe it has something to do that this instance gets flushed regularly?
Ah ok, then I understand that issue as well. There are two different ways to renew the token: with the (still valid) current access token before it expires or with a refresh token (which typically has a very long lifetime). Default oCIS uses the first way, meaning token renewal only works if the browser is open and you have a working internet connection / connection to the instance. If that's not the case and the token expires then you have nothing you can renew the token with -> the state that you described. Nothing wrong there (only the bug that you described initially), but I will discuss internally if we can hand out refresh tokens by default.
Activity
kulmann commentedon Aug 16, 2022
Apart from the reported bug, what do you mean by
wait until session expires? As we have token renewal in place this should never happen... how to reproduce that? If I set the token lifetime to 1 minute (hardcoded in ocis and manually rebuild) the token renewal works as expected and I don't get logged out.hurradieweltgehtunter commentedon Aug 16, 2022
Not sure how it happens. I logged in yesterday, let it be, opened the browser tab today and this message appeared.
Maybe it has something to do that this instance gets flushed regularly?
kulmann commentedon Aug 16, 2022
Ah ok, then I understand that issue as well. There are two different ways to renew the token: with the (still valid) current access token before it expires or with a refresh token (which typically has a very long lifetime). Default oCIS uses the first way, meaning token renewal only works if the browser is open and you have a working internet connection / connection to the instance. If that's not the case and the token expires then you have nothing you can renew the token with -> the state that you described. Nothing wrong there (only the bug that you described initially), but I will discuss internally if we can hand out refresh tokens by default.
AlexAndBear commentedon Aug 29, 2022
Fixed by #7491