According to the OAuth 2.0 specification, OAuth defines four grant types: authorization code, implicit, resource owner password credentials, and client credentials. For server-server communication, it is better to use the 'client credential' or 'resource owner password credentials' grant types (RFC 6749 4.3. Resource Owner Password Credentials Grant, 4.4. Client Credentials Grant)
If you have any questions about setting up, you can write to the account chat.