Hi @RoliT,
As per the documentation,
Confluence Data Center and Server provides APIs to allow external services to access resources on a user’s behalf with the OAuth 2.0 protocol.
Kindly checkout Confluence OAuth 2.0 provider API for more information. Hope this helps.
Cheers,
Ian