Signed-in Devices
A signed-in device is a phone, computer or browser where Thirdlane Connect stays signed in to a user’s account without asking for the password again. Users can see their own devices and sign out any of them. Administrators can sign out a user’s device from the Users and Access report.
Why you would want it
Connect keeps users signed in for weeks at a time, which is convenient on a phone but means a lost phone, a shared computer or an old browser stays signed in until someone ends that sign-in. Signing out one device ends only that device’s sign-in; the user’s other devices keep working.
How it works
What keeps a device signed in
When Connect signs in with a password or a sign-in code, the server gives the app two things: a session, which lasts while the app is in use, and a saved sign-in, which the app uses to start a new session later without the password. The saved sign-in is replaced with a new one each time it is used and lapses after 30 days without use.
A saved sign-in can also end without the device being signed out: when the browser’s stored data is cleared, or when the memcached service on the server restarts, which ends every saved sign-in at once. Such a device leaves the list the next time the list is shown, and the app on it has to be signed in again.
Each saved sign-in is one entry in the list of signed-in devices. Platform Manager and User Portal sessions in a browser do not appear in the list, because they have no saved sign-in and end on their own when the browser session expires.
The server stores only a fingerprint (a SHA-256 hash) of each saved sign-in, so the list itself cannot be used to sign in.
What signing out a device does
Signing out a device:
- deletes its saved sign-in, so the device cannot start a new session;
- ends its current session;
- closes its chat connection, so a running Connect app stops at once rather than at its next restart;
- records the time, and who signed the device out, in Users and Access.
A current release of Connect then returns to its sign-in screen and shows This device was signed out. The device can be used again only after someone signs in on it.
A device that has the user’s password saved can sign in again with it. When a device is lost or stolen, sign it out and also change the password.
Who can sign out which device
So that a stolen phone cannot be used to sign the owner out of every other device, the rules depend on where the request comes from:
| Signed out from | Allowed | What is needed |
|---|---|---|
| The device itself | Always | Nothing |
| Another device in Connect | If that device signed in at least 24 hours ago | The account password |
| The User Portal | Always | Nothing more - the user is already signed in to the portal |
| The User Portal, viewed by an administrator for another user | Administrators who manage the user’s organization and have access to users | Nothing more |
| Users and Access report | Administrators with access to the report | Nothing more |
After five attempts from one address within 15 minutes, further attempts for that account are refused until the 15 minutes have passed. Each wrong password is recorded as a failed sign-in in Users and Access.
The 24-hour wait covers a device that was signed in with someone else’s sign-in code or phone approval: it cannot use the account to sign out the owner’s devices on the same day.
The notification email
When a device is signed out from another device, the User Portal or by an administrator, the user receives an email naming the device, when it was signed out, and how. A device signing itself out sends nothing. The email is sent by a background task that runs every five minutes, to the email address on the user’s extension or administrator account, using the device_signed_out template in Email Templates. A sign-out more than a day old is not emailed.
How devices are named
The list names each app by the system it runs on - Thirdlane Connect for Mac, for Windows, for iPhone, for iPad, for Android or on the web. The phone model is added when the phone reports it, and the browser for Connect on the web, for example Pixel 7 - Connect for Android or Chrome on Windows - Connect on the web, with the operating system and app version underneath. The names come from what the app reports when it signs in. The app name is Connect unless the organization’s Connect Branding sets another.
Where to find it
- Users - in Connect, Settings > Profile > Signed-in devices on the browser and desktop apps, and Settings > Signed-in devices on the mobile app. In the User Portal, Signed-in devices on the Welcome page. See Signing In.
- Administrators - Reports > Users and Access > Sessions. Each row in Recent Sessions that still has a saved sign-in has a Sign out button. An administrator viewing a user’s portal can also open Signed-in devices there to see and sign out that user’s devices.
Operating it
- A user reports a lost or stolen phone. Sign the phone out from the Sessions section of Users and Access, or ask the user to do it from the User Portal. Then have the user change their password.
- A user cannot sign out another device from Connect. Either the device they are using signed in less than 24 hours ago, or the password was refused. The User Portal has neither restriction.
- A user who signs in only with codes has no password to enter. They can use the User Portal, or an administrator can sign the device out.
- A device is not in the list. Only devices with a saved sign-in used in the last 30 days are listed. A browser tab of Platform Manager or the User Portal is never listed.
Best practices
- Sign out, then change the password for any device that is out of the user’s control.
- Tell users about the notification email. An unexpected one is the signal to change the password.
- Check the email address on each extension, so the notification has somewhere to go.
Related documentation
- Connect Sign-in Codes - signing in without a password
- Users and Access - the Sessions section and the sign-in audit
- Email Templates - the
device_signed_outemail - Signing In - the user’s side
- User Portal Overview