Hi there,
i’m searching how set the environment variable CREATE_TOKENS_FOR_USERS=true, reported here , on Rocket.Chat cloud environment (Saas).
The aim is call the api /api/v1/users.createToken but at the moment i get the following response
{
"success": false,
"error": "Not authorized [error-not-authorized]",
"errorType": "error-not-authorized",
"details": {
"method": "createToken"
}
}
i’ve already check the permission user-generate-access-token is properly setted in permissions section.
Any ideas/help? @dudanogueira
Thanks and Regards