Communication between servers in a network and digital software can be done via HTTP, sending HTTP requests, and receiving HTTP Responses. Authentication methods such as OAuth2 can be configured on an HTTP client.
This video explains how to configure an HTTP authentication, which can be used in the incoming and outgoing connections.