-
-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please sign in again? - Way to keep non-idle? #1357
Comments
did you manage to try and/or use one of the other options available to login? How did you get along with it? Thanks |
Still playing with it. We can close this for now and I will come back if I have some progress. |
I have the same problem, need to re-login every few hours. Our company uses Intune, and I tried the new settings for that. It does not make a difference. In the log, I get the following warning:
Do I need to start any other service/component to provide the missing microsoft-identity-broker DBus interface? |
maybe check in here ? #1280 . There it explain how they did it and it might give you clues on how to get it to work. |
Thanks for pointing that out. I've checked #1280 and I'm now under the impression that I need to run the MS Intune app (https://learn.microsoft.com/de-de/mem/intune/user-help/microsoft-intune-app-linux). That one seems to provide the relevant DBus interface. Unfortunately, it is not yet available for Ubuntu 24.04. |
I am going to close this as there is little more we can do to avoid this please sign in again other than the certificate and intune options already mentioned. Hopefully they release the intune app for ubuntu 24.04 soon. (trying to keep the backlog manageable). Do shout if you think this should be open and I can re-open for a few more months and repeat this process |
@IsmaelMartinez My problem is that I need to re-login via 3rd party SAML IdP with token every 24 hours, so there is no way to work around it. Questions:
|
I am experiencing same problem like bpozdena. I turn on Teams4Linux in the morning and sometimes login dialog appears, sometimes not (probably depending on some token expiration). If the login popup is not shown, then randomly after few hours I get suddenly toolbar with "Sign in" button, sometimes it drop me from meeting. It is very annoying. Then I need to login via 2F authentication with company credentials. I would be happy if T4L force login on every startup so I do not experience this ugly behavior. I was searching for some parameters to do that, but no success. |
After many missed messages during my working hours, I at least for now configured Teams to autostart maximized and with cleared storage using the Example: cat ~/.config/autostart/teams-for-linux.desktop
|
@IsmaelMartinez , would it be possible to implement permanent OAuth2 authentication for custom "MyApp" similar to how onedrive client for linux does it With this approach my onedrive client remains logged in for weeks without any issues (until I am forced to change password). |
not that easy as we use electron to wrap around this. I had a look to see if I could do something in the website part, but I can't seem to find a place where this would work. @martinsznapka , what happens if you close the app and clean the cache ? We might be able to force a cache cleanup (hopefully only of the authentication tokens part) but I am not sure where that authentication tokens sit. The browser section (I assume) but dunno where and if they are accessible |
I tried to Quit with Clear storage and opening T4L forced me to login. So clearing only authentication part would be great feature! Clearing full storage isn't really nice for me, since some settings are gone (background image during meeting, predefined user login, etc.). |
well, that gives me an area to explore ;) |
Hi all, I have added a debug log of the auth cookie changes in: It logs the cookie name, expiration date (in timestamp format) and domain. Can you run the app with debug mode and see if we get more info from it? The cookie value is not printed at the moment, but can change that later if preferred. Trying to find a pattern in here as MS does support many ways of authentication so this cookie might not be what we are looking for. |
|
would you be able to leave the app running and see what logs we get on those cookies tomorrow? I think we might be able to detect the authentication token didn't refresh if we get a :
That is not closely followed by a:
Then we can decide how to deal with it if that is a symptom |
|
I wonder if this is on the back of locking your screen for an extended period. Aka, the re-authentication flow stops happening and when you unlock your screen the token has expired. A few things to try and send logs. Start the app...
Thanks! |
same issue here, keeps asking for signin every day |
@ciros88 , can you provide the logs with the tests I indicated before? Still trying to figure out if we can detect this and force an refresh of the token. Otherwise you should focus on getting intune configured. |
Assuming this is due to org policy around timeout. Can we do something that would keep the connection active enough to not trigger this? Native Teams or Outlook or other apps seem to be able to hold on to this. Maybe through certs or something? Pretty annoying. I understand there is only so much one can do here but asking.
The text was updated successfully, but these errors were encountered: