• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    How to log out a user from Mango

    How-To
    3
    11
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MattFoxM
      MattFox
      last edited by MattFox

      Welcome,

      Go into the Administration -> System settings and change a login duration time from 48 hours to 1 or 30 minutes under the http server session setting

      0_1594777613121_18d163ac-ee16-4aa9-8e79-adb9bf2b3516-image.png

      Do not follow where the path may lead; go instead where there is no path.
      And leave a trail - Muriel Strode

      1 Reply Last reply Reply Quote 0
      • E
        Elena
        last edited by

        Thanks Matt.
        This didn't work for me. I've set the value to 5 minutes and after 15+ minutes everyone was still showing as Active in Events and I was able to navigate around without logging in again.

        1 Reply Last reply Reply Quote 0
        • MattFoxM
          MattFox
          last edited by

          Take note everyone still has active authentication tokens that are still valid. Once they expire they will be re-issued with new tokens with the new prescribed time limit that you set.

          Fox

          Do not follow where the path may lead; go instead where there is no path.
          And leave a trail - Muriel Strode

          1 Reply Last reply Reply Quote 0
          • M
            Malaguena
            last edited by

            Hi @Elena !

            Did you solve the problem?
            I'm having the same problem. I have arranged 1 minute and revoked Auth tokens for one of the users. Then logged in to the new browser, waited for 5 mins without any activity. Mango did not log out of the user.

            1 Reply Last reply Reply Quote 0
            • MattFoxM
              MattFox
              last edited by

              Go to each user and save their profile, that will force a log out

              Do not follow where the path may lead; go instead where there is no path.
              And leave a trail - Muriel Strode

              1 Reply Last reply Reply Quote 0
              • E
                Elena
                last edited by

                Still not solved.
                The problem is - I've got legacy users which have been deleted from the mango server when people left the company.
                I'm unable to add them back (error says username already exist) and I can't see them in JSON export for Users.

                1 Reply Last reply Reply Quote 0
                • MattFoxM
                  MattFox
                  last edited by

                  Might involve using the webmin to access the sql database and forcibly removing them then...

                  Do not follow where the path may lead; go instead where there is no path.
                  And leave a trail - Muriel Strode

                  1 Reply Last reply Reply Quote 0
                  • M
                    Malaguena
                    last edited by

                    @MattFox I revoked all auth tokens for each user, but still, mango did not force to log out.

                    1 Reply Last reply Reply Quote 0
                    • MattFoxM
                      MattFox
                      last edited by

                      No you save the user, and that will refresh the session token.
                      But since you're using 4.0 that may not work in this instance....

                      Do not follow where the path may lead; go instead where there is no path.
                      And leave a trail - Muriel Strode

                      1 Reply Last reply Reply Quote 0
                      • M
                        Malaguena
                        last edited by

                        @MattFox @Elena Hi!

                        We made changes then restarted Mango (both v3.7.7 and 4.0.0.beta3). Mango forced the user to log in again. But it doesn't consider user inactivity. Even if the user is actively working, Mango forces to log out after a period of time.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post