I'm working on an app right now that's built heavily around GB video content. I know that my API key has access to premium content, but I'm wondering how this should be handled when other people use my app. I'd like to do some kind of authentication to prevent people without premium accounts from accessing premium videos, but I didn't find anything in the API doc about accessing GB user information.
Without that, the best solution I can come up with is to have users sign up for a separate account to use my app and require them to tie that account to their own GB API keys. That way, the app could request video with that user's API key instead of my own, but that would be forcing people to open up the GB API page in a new tab, copying it, and then returning to my app to paste it in.
What I really want is to have the user enter their GB login and password directly into my app, have the app send their credentials to the GB servers, and have GB return their premium status. Is that possible and it's just undocumented? If not, is there a better way of handling this than what I described above?
Log in to comment