By: Mohamed EL HAJJ user 09 Jun 2016 at 10:37 a.m. CDT

3 Responses
Mohamed EL HAJJ gravatar
Hi, How can i change the user session time in Gluu? And what is the default session time? I saw that there is a parameter: "refresh-user-session-timeout-enabled" in this doc: http://gluunew.readthedocs.io/en/latest/reference/oxAuth/oxauth-config/, but i don't know if this is what is should be looking at. Thanks

By Mohib Zico staff 09 Jun 2016 at 11:15 a.m. CDT

Mohib Zico gravatar
Hello Mohamed, First of all... 'http://gluunew.readthedocs.io/' is not our official documentation site; so following that might not be a good choice. Second.... about 'session timeout'. There is actually no functionality which force users to login after X seconds out of the box in Gluu Server ( because it is out of OpenID Connect specifications) . But every token has lifetime; so if access_token consumed by oxtrust is expired then it will may 1) refresh existing one 2) redirect for re-login.

By Mohamed EL HAJJ user 10 Jun 2016 at 2:53 a.m. CDT

Mohamed EL HAJJ gravatar
Thank you for your answer Mohib. Ok i understand. So what is the access token default lifetime? Can we modify it?

By Mohib Zico staff 10 Jun 2016 at 4:41 a.m. CDT

Mohib Zico gravatar
Yes... you can modify it from oxTrust. 'Configuration' --> 'JSON Configuration' --> 'oxAuth Configuration'