Set the expiry of a token per client?

Hi everyone,

Is it possible to set the expiry of a token outside of the Realm? Like, at the client level?

For a specific client, I need to set this differently (and I can’t use another realm for it).

Is there a way, like maybe a module for Keycloak or some Javascript on the keycloakSession object ? (
keycloakSession.getContext().getClient() anyone ?)

Thanks in advance !