Project: usergrid
Issue USERGRID-750: When setting accesstokenttl to 0, client credentials auth still returns 604800
If I send a PUT request to set the accesstokenttl to 0 for an app: {code} { "accesstokenttl": 0 } {code} And then make a subsequent client_credentials token request, the token ttl in the response is still 604800: {code} { "client_id": "***", "client_secret": "***", "grant_type": "client_credentials", "ttl": 0 } {code} Response: {code} { "access_token": "***", "expires_in": 604800, "application": "***" } {code} [~tnine] suggests this may be a response rendering problem and that it is actually setting the expiration correctly in the stack.
Story points: 3