ausocean / cloud

GNU General Public License v3.0
1 stars 1 forks source link

Add token generation button to broadcast page #136

Closed saxon-milton closed 2 weeks ago

saxon-milton commented 2 weeks ago

Depends on PR #134

resolves #131

To associate and authenticate a broadcast with a particular YouTube account, we need to generate a token for the account.

We're providing a button on the broadcast page that performs the generation and stores the account email in the broadcast config, which can be used to later retreive the token for refresh and/or use.

saxon-milton commented 2 weeks ago

LGTM.

But, why does oceanbench now need YOUTUBE_SECRETS? Previously, only oceantv required it.

It's because it now does the token exchange, which requires a google client config, which requires API secrets.