Using two-legged OAuth2 with Youtube Analytics API

I'm trying to connect to the Youtube analytics api using the node.js client library for Google apis. I managed to get access to my Google analytics data using JWT and a service account but unfortunately the YouTube analytics API doesn't support service accounts.

Is there a way to simulate the server to server method of authenticating (without user interaction)?

P.S. I will be accessing my own data.