Auto logout after 30 min

96 Views Asked by At

I am new in apigee. I am using below function for a login in application:

  client.login(username, password,
      function (err) {
        if (err) {
          alert('Invalid username or password.');
          $(".ajax_loader").hide();
          $("#login-btn").show();
        } else {
          //login succeeded
          client.getLoggedInUser(function(err, data, user) {
            if(err) {
              //error - could not get logged in user
              alert(err);
            }

And I want to set auto logout after 30 min, is it possible, and if yes, where we can set this limit?

1

There are 1 best solutions below

0
On BEST ANSWER

There is currently no feature for auto logout. Possibly this is an enhancement the usergrid team would consider.