How to use OAuth with deployed web apps?
问题 We are an ISV with a web application. Unlike StackExchange or Trello, this web app is installed at customer sites, so each web app installation has a separate URL. i.e.: http://app.example.com/ and http://app.microsoft.com/ could both be valid URLs for our app. We want to use OAuth to access the user's Google data (a simple first-time-use import to prime the app database). Our problem is trying to figure out how to make this work. OAuth for web apps (client-side) depends on a redirect URL