Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

OAuth for YouTube Analytics API via Google Cloud Functions

$
0
0

I am trying to access YouTube data using the YouTube Analytics API through Google Cloud Functions, but I am facing issues with OAuth authentication.The Google Cloud project I am using is under my company's organization.However, the YouTube data I need is associated with my company's account, which is created with a Gmail account, not with our company domain.

I set the OAuth consent screen with the app's publishing status as 'Testing' and the user type as 'External'.My expectation was that this setup would allow me to authenticate and maintain access to the YouTube data. However, it seems that with this setup, the refresh token expires after just 7 days.I am aware that publishing the app requires a review process, but I am concerned about the feasibility of passing this review since we are only using Cloud Functions.I am looking for a way to authenticate with a Gmail account for OAuth without these limitations.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>