Does the ttl parameter work for grant_type of password? Regardless of the value submitted I get back a token with a ttl of 604800. I was expecting a token that does not expire.
Example request:
curl -X POST -i -H "Content-Type: application/json" "[org name]/[app name]/token?ttl=0" -d '{"grant_type":"password","username":"[username]","password":"[password here]"}'

{"access_token":"[token]","expires_in":604800,"user":{"uuid":"[uuid]","type":"user","name":"[User's name]","created":1383970356980,"modified":1383970356980,"username":"[username]","email":"[user email]","activated":true,"picture":"[image_link]"}}

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.