Login via API using oauth service account

Hi there,

we’re currently authenticating with Grafana using generic oauth with a keycloak server.
I would like to have other internal services interact with the Grafana API, to sync Grafana teams with other internal objects we have.

Is there a way to authenticate to the API using an oauth token?

Looking at Authentication HTTP API | Grafana Labs the “Session cookie” refers to the browser http cookie used after logging in? Any way I can get that from a server side request?

Thanks!