Check for access token ttl before setting it

Not all grant types support access token TTL i.e. implicit