RabbitMQ 3.8 ships with [OAuth 2 support](https://github.com/rabbitmq/rabbitmq-auth-backend-oauth2). The client should provide utility to retrieve JWT tokens and to refresh them when appropriate.