@henreman You have to bear in mind that JWTs are immutable. This means that, after they have been issued, there is no way to edit a JWT token without invalidating it.
The Client Credentials hook allows you to allow extra claims to the token before it’s issued, enriching it with either a hardcoded value, or a value that you gather from any of the objects available within the hook (
context and maybe add conditionals, but there is no way to change the token once it has been issued.
Do you have an example of information that you would like to add to the token, that could not be gathered before the token is issued?