# Authentication

Inactive users can be signed out of the account after a chosen duration of inactivity. By default, this duration is set to **1 hour**.

OAuth tokens are used by apps and the API to authenticate. After the period selected here, users will be required to reauthenticate with all apps. If set to **Never**, OAuth tokens can still be manually expired through **My Connections** under **Personal Settings**, or by an administrator on the user’s profile page using the **Users** menu.

To update Authentication settings:

1. From your ShareFile dashboard, navigate to **Account settings** > **Security** > **Security policy** > **Authentication**.
2. Choose from the drop-down options the timing to log inactive users. If you want to desable, set the time to **Never**.
3. Choose from the drop-down options the reauthentiation timing. This applies to all ShareFile tools.
4. Click **Save**.

   ![Authentication](https://docs.sharefile.com/en-us/sharefile/assets/7ec3b7c4c3c22bc098a0f32e5093c245/authentication.png)
