Michael Cole
Michael Cole

Reputation: 16247

Developer Dashboard Bug. No OAuth token for packaged app

Seriously, how do I do this? I've looked and Googled for two days, and it's not there.

I'm trying to sell an app through the Google Web Store. It is a packaged off-line app, with a custom server backend.

I think to do this I need the Licensing API, and that says I need an OAuth Token. I'm following these instructions to get the token.

Here are screenshots of my view of the Chrome App in the Developer Dashboard. My app's id is: lhhdccfgjpdaidjegbioednlnlidefno

How do I use the Licensing API with a packaged app?

Please help!

Mike

Upvotes: 0

Views: 86

Answers (1)

Michael Cole
Michael Cole

Reputation: 16247

thanks everyone who read/answered this. The missing piece was here:

https://developer.chrome.com/apps/app_identity

Chrome has a browser API to call to get the token. There is no need to get it from the Developer Dashboard, hence I couldn't find it. I think much of the documentation is out of date and written before Chrome had the browser API for this.

This URL is likely a good example even for subscriptions. https://developer.chrome.com/webstore/one_time_payments

Thanks for your help!

Mike

Upvotes: 1

Related Questions