title: Google OAuth in iOS app saved to home screen
body: <p>I have a web site that I just moved from Google AppEngine authentication to OAuth. The first time I logged in on my iPhone I got notified that OAuth in UIWebViews is going to stop on April 20.</p>
  
  <p><a href="https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html" rel="nofollow noreferrer">https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html</a></p>
  
  <p>I ran into this because I'd saved a shortcut to my web site to my iOS home screen. How do I work around this? I suppose I can have the login button open a new window for the OAuth authentication flow, then close the new window when authentication is complete. But that seems kind of kludgy for an application that the user has saved to the home screen, and detecting whether a user is in a UIWebView or not (so that I can determine whether to open a new window or not) is likely to be unreliable as I try to match the detection results that Google uses. </p>
  
  <p>Does anyone have experience or guidance to share on how to make this user experience acceptable? </p>