Announcement

Collapse
No announcement yet.

2 Factor Authentication token expiration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 2 Factor Authentication token expiration

    Hi, wanted to ask a question regarding auth token expiration. Currently we have the "Token Max Idle Time (hours)" set to '12', as I understand this should automatically log out a user that has been idle for 12 hours and ask him to authenticate again? Or does this mean something different?
    Click image for larger version

Name:	image.png
Views:	307
Size:	94.0 KB
ID:	88592

  • #2
    Hi Mark,

    Auth Token Lifetime parameter defines how long tokens can exist at all.​
    Auth Token Max Idle Time parameter defines how long since the last access tokens can exist.

    Keep in mind that this applies to any authentication in EspoCRM and does not depend on the two-factor authentication settings.

    Comment


    • #3
      okay, so in theory if "Auth Token Max Idle Time (hours)" set to '12' and a user has left a tab with the CRM open on his computer, but has not made any activity, he would automatically be logged out after 12hours right?

      Comment


      • Mark
        Mark commented
        Editing a comment
        is it possible to disable these automatic requests for fetching the notifications?

      • yuri
        yuri commented
        Editing a comment
        By configuring websocket.

      • Mark
        Mark commented
        Editing a comment
        We can't configure the websocket due to permission limitations with our hosting provider. Maybe there is a way to just disable the functionality that makes the automatic requests? It would be okay for us if the notifications and etc. are not being synced automatically in the background

    • #4
      Add to data/config.php

      'notificationsCheckInterval ' => 1000000,
      'popupNotificationsCheckInterval' => 1000000,

      It's a value in seconds. Maybe it will do the trick.
      Last edited by yuri; 03-03-2023, 09:31 AM.

      Comment


      • yuri
        yuri commented
        Editing a comment
        The max supported by browsers value is 2147483, which is 24 days.
    Working...
    X