Azure App Service Oauth failure after Mobile Service migration
<p>Up to this point, I had a functioning Azure Mobile Service with service-directed OAuth working nicely for Google.  I tried to rehost the mobile service as an app service since mobile services are deprecated.  I also have an HTML/JS web app that accesses my service through the <code>MobileServiceClient</code> JS client.  This is where the fun starts.</p>

<p>After changing the redirect address to the appropriate app service address in the Google API manager, I get a message saying I'm successfully logged in in a new popup window: <img src="https://i.imgur.com/d4H0GSc.png" alt="a">.</p>

<p>Clicking on "Return to Website" takes me to the address of my app service, not the app that initiated the OAuth request, and if I close this window, the <code>MobileServiceClient</code> throws a "cancelled" exception and I don't get my credentials.</p>

<p>What am I missing or what changed that I need to account for?</p>

<p>Thanks!</p>