title: Google OAuth API not working anymore?! 404 error
body: <p>I've got a strange problem with my Analytics Windows Phone App. It's been 2 months now from the first release. My Google Oauth always worked... until several days ago.</p>
  
  <p>It is impossible to authorize the app to access Analytics data anymore. And I've changed totally nothing!</p>
  
  <p>The first URI I use is:</p>
  
  <pre><code> https://accounts.google.com/o/oauth2/auth?redirect_uri=http:// localhost
   &amp;response_type=code
   &amp;client_id=*myClientAppId*
   &amp;approval_prompt=force
   &amp;scope=https://www.googleapis.com/auth/analytics.readonly
   &amp;access_type=offline
  </code></pre>
  
  <p>It's the same as <code>https://developers.google.com/oauthplayground/</code>. The Web Explorer shows me the login form, and then the authorization form. When I tap "Authorize access", it redirects me to a 404 page.</p>
  
  <p>I don't know why, it always worked before.</p>
  
  <p>EDIT: OK, this works in Google Chrome. It gives me a 404 at the end but the code is in the browser URI.</p>
  
  <p>EDIT 2: It works in Firefox too! But not in Internet Explorer. Google has modified something that doesn't fit IE! As it is IE in Windows Phone, I'm out of luck.</p>
  
  <p>EDIT 3: This is the URL from Windows Phone IE during the process:</p>
  
  <pre><code>https://accounts.google.com/o/oauth2/auth?redirect_uri=http://localhost&amp;response_type=code&amp;client_id=*clientID*&amp;approval_prompt=force&amp;scope=https://www.googleapis.com/auth/analytics.readonly&amp;access_type=offline
  
  https://accounts.google.com/ServiceLogin?service=lso&amp;passive=1209600&amp;continue=https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/analytics.readonly&amp;response_type=code&amp;access_type=offline&amp;redirect_uri=http://localhost&amp;approval_prompt=force&amp;client_id=*clientID*&amp;hl=fr-FR&amp;from_login=1&amp;as=-f41460280d51b31&amp;ltmpl=embedded&amp;shdf=Cp8BCxIRdGhpcmRQYXJ0eUxvZ29VcmwaAAwLEhV0aGlyZFBhcnR5RGlzcGxheU5hbWUaGkFuYWx5dGljcyBmb3IgV2luZG93c1Bob25lDAsSBmRvbWFpbhoaQW5hbHl0aWNzIGZvciBXaW5kb3dzUGhvbmUMCxIVdGhpcmRQYXJ0eURpc3BsYXlUeXBlGhJOQVRJVkVfQVBQTElDQVRJT04MEgNsc28iFJZQrUSzSBUX1XVpZxx-K_xFjAA7KAEyFBX1s-5Zjlet_038EBgHpUrtzMWT&amp;scc=1
  
  https://accounts.google.com/ServiceLoginAuth
  
  http://accounts.google.fr/accounts/SetSID?ssdc=1&amp;sidt=ALWU2cvavauNt1Z0SXgI2DX+i+T5G1snNnu5C+aq/NBExAfG+WenK3WQRLVDLUWqsRcCCbj6c1b1qoZUOQminXYpKJMQzl6FWmuTgA8rVQYtaK5tatpCXffmlXh9CLec/zn8SUijYZILc7vwN9ByicxS1vSyFGvuoteb7wfDiemkcbvaPjfQZ4PrfmEWtl/Us+Gua+ePdTMc9tHFllBYj3TUZDiL7H1FmfPe1nE4jPyteAnGcF500lFyGSYAftGVpsMRQZiJ+4qVhGcgBrFrySpb92sVTq5FGTrQmqryhvhwQF6Sy6SJbq1CqgiavbsZbfwrvZIWVq31&amp;continue=https://accounts.google.com/ServiceLogin?passive=true&amp;go=true&amp;continue=https%253A%252F%252Faccounts.google.com%252Fo%252Foauth2%252Fauth%253Fscope%253Dhttps%253A%252F%252Fwww.googleapis.com%252Fauth%252Fanalytics.readonly%2526response_type%253Dcode%2526access_type%253Doffline%2526redirect_uri%253Dhttp%253A%252F%252Flhttps://accounts.google.com/ServiceLogin?passive=true&amp;go=true&amp;continue=https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/analytics.readonly&amp;response_type=code&amp;access_type=offline&amp;redirect_uri=http://localhost&amp;approval_prompt=force&amp;client_id=*clientID*&amp;hl=fr-FR&amp;from_login=1&amp;as=-f41460280d51b31&amp;shdf=Cp8BCxIRdGhpcmRQYXJ0eUxvZ29VcmwaAAwLEhV0aGlyZFBhcnR5RGlzcGxheU5hbWUaGkFuYWx5dGljcyBmb3IgV2luZG93c1Bob25lDAsSBmRvbWFpbhoaQW5hbHl0aWNzIGZvciBXaW5kb3dzUGhvbmUMCxIVdGhpcmRQYXJ0eURpc3BsYXlUeXBlGhJOQVRJVkVfQVBQTElDQVRJT04MEgNsc28iFJZQrUSzSBUX1XVpZxx-K_xFjAA7KAEyFBX1s-5Zjlet_038EBgHpUrtzMWT&amp;service=lso&amp;ltmpl=embedded&amp;fss=1
  
  https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/analytics.readonly&amp;response_type=code&amp;access_type=offline&amp;redirect_uri=http://localhost&amp;approval_prompt=force&amp;client_id=*clientID*&amp;hl=fr-FR&amp;from_login=1&amp;as=-f41460280d51b31&amp;pli=1&amp;auth=DQAAAIMAAAAw6WtQDD3JKEg_qAs6neUVzWA5ixsW0ido7pIOrK5KRLnHA-_QQhVd7RzSelpNhkhCVJxVGSEgQpZINeKa29lwivfu-Rbu-vuM1uR4U-JC3EJZEwDMIMuva19_KNsd83ihmeYcuGbnBvUR5iln1KhZZIvhUkbS9CjVwLRdwbMRG5nRHO-oJruBkuezuntX8Iw
  
  https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/analytics.readonly&amp;response_type=code&amp;access_type=offline&amp;redirect_uri=http://localhost&amp;approval_prompt=force&amp;client_id=*clientID*&amp;hl=fr-FR&amp;from_login=1&amp;as=-f41460280d51b31&amp;pli=1
  
  https://accounts.google.com/o/oauth2/approval?as=-f41460280d51b31&amp;hl=fr_FR&amp;xsrfsign=APsBz4gAAAAAUHsS0dCApfLAWpZILWjeTNZSt6DUZzug
  </code></pre>
  
  <p>404 error -> <code>https://accounts.google.com/o/oauth2/</code>  </p>
  
  <p>On Chrome, same URIs, but when I click on "Authorize", I get localhost with the code for the token.</p>