Google Marketplace App / OAuth2 - Programmatically Delegate Domain-Wide Authorization
问题 Context I'm currently migrating an OAuth 1.0/OpenId based app over to use OAuth 2.0. The app is a Google App Engine app built in Java and will be in the new apps marketplace 2.0. I've got the basic OAuth 2.0 flow working fine for individual users but am having trouble setting up the service account for my scenario below. Issue The flow I'm trying to enable is as follows: Domain admin installs app from apps marketplace Domain admin grants requested scopes (e.g. admin sdk, profile, email, etc)