What's the logic behind? You can reuse a named HttpClient across your application, the first outbound request triggers token acquisition, subsequent requests reuse the cached token until refresh is ...
API authentication proxy, able to handle both the client and server side concerns of the OAuth Client Credentials flow by operating in forward and reverse proxy modes.