I'm currently developing an app that enables users to log in with their Google/YouTube accounts. In addition to fetching account information like playlists, I'm looking to integrate YouTube videos using the iframe API. However, I want to provide users with active YouTube Premium subscriptions the the benefit of ad-free.
Does anyone have experience or insights into how I can achieve this? It must be something like using additional authentication query parameters or any other suitable approach to ensure the app unlocks the premium benefits for eligible users, but I cant find anything on their documentation.
Thank you for any assistance or information you can provide!