Can we set maximum timeout for RESTAuthToken?

nuppala
edited February 11, 2022 in Analytics #1

Hello,

We are using JSAPI to launch iHub reports in customers web portal. We have used REST service to authenticate. We are passing rest auth token to view reports. Currently the authentication token is getting expired after some time. Is there any possibility to increase the time out for for the authentication token generated through REST API.

Regards,
Naveen

Answers

  • Can you help answer this question?

    We've noticed this question is over 30 days old and hasn't received a response. We're turning to you, the community, to help answer it.

    This generic response is intended to prompt discussion in this post. The question remains open to your answers, suggestions, and best practices.

    If you posted this question and were able to resolve the issue, or still need additional help, please let us know. Your question and its resolution are important to us, and we want to help.

    David Sciuto

  • There are several timeout settings in the web.xml file used by the iHub. One is called LOGIN_TIMEOUT that says controls the session time out that might be what you want.

    <context-param>
        <!--
            Session time out in seconds
        -->
        <param-name>LOGIN_TIMEOUT</param-name>
        <param-value>1200</param-value>
    </context-param>
    
    Warning No formatter is installed for the format ipb