thanks for this as well. This would be an awesome option but would need something longer than a 3 month expiry as we wouldn't be able to trust our end users to update this regularly. Also, I just tried to create a token to check it out and received an error with no token generated.
Cannot deserialize value of type
java.util.Datefrom String "2018-06-04T21:55:32.087Z": not a valid representation (error: Failed to parse Date value '2018-06-04T21:55:32.087Z': Unparseable date: "2018-06-04T21:55:32.087Z")
when attempting to POST the login request as outlined here, https://help.infiniteautomation.com/mango-rest-api-authentication/
I am receiving the 200OK response but I am not receiving the token or set-cookie headers in the response. We are currently on Mango V3.3.1 . I can post more info if needed was just curious if this was a known issue or if anyone had run into something similar. I am using PHP with cURL.