I am trying to reuse the same authToken generated by Rocket.Chat login API.
{
"status": "success",
"data": {
"authToken": "9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq",
"userId": "aobEdbYhXfu5hkeqG"
}
}
The developer guide says:
As the token expires, you have to call the login method again in order to obtain a new token with a new expiration date. You don’t have to wait until the token is expired before asking for a new token. (Link Here)
But it does not mention about the expiration date configuration. Is there some way to set unlimited expiration to the authToken?