Hi Vinay,
I tested on 4.12 following this:
1. Stop the rundeck instance.
2. Add rundeck.api.tokens.duration.max=0 to the rundeck-config.properties file.
3. Start the rundeck instance.
4. create a new token, now, new tokens are configured as permanent tokens (0).
Regards.