Book has a reference app - ecommerce app. That has a UI that consumes the REST APIs. Therefore, it contains the Client Credential Grant flow that provides the JWT token. However, it also has custom implementation of Refresh token.
Hope this helps.
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?