If we have an external product (an identity manager) that needs to connect to Jira cloud's REST API to pull down user information, groups, and application roles on a schedule, which authentication method is best suited for this? This process is non-interactive.
It looks like an API token with basic auth, where we generate an API token under an administrative user (that we consider a service account), would work.
OAuth 2.0 3LO with refresh tokens could work in scripts but this method does not give us access to some REST endpoints, like removing a user from a group - so that one is out.
I don't think a connect framework app would give us anything more than basic auth would, except for getting user's email addresses where because of GDPR the get email endpoints are only accessible via an app that has been whitelisted/approved by Atlassian.