• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with authenticated background downloads involving a 301 redirect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with authenticated background downloads involving a 301 redirect


  • Subject: Re: Problems with authenticated background downloads involving a 301 redirect
  • From: Greg Robbins <email@hidden>
  • Date: Thu, 24 Jul 2014 18:09:34 -0700

Thanks; these were filed as 

<rdar://problem/17804325> NSURLCredential and challenges should support OAuth 2 authorization
<rdar://problem/17802783> NSURLSession strips Authorization header on redirects, breaking OAuth2 support

While it would sure be nice if NSURLSession had helpful support for expired OAuth 2 access tokens, for Google apps we wrap NSURLSession with a fetcher class that looks for failures due to expired tokens, refreshes the tokens, and retries the requests. 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Problems with authenticated background downloads involving a 301 redirect (From: Scott Hancher <email@hidden>)
 >Re: Problems with authenticated background downloads involving a 301 redirect (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Problems with authenticated background downloads involving a 301 redirect (From: Scott Hancher <email@hidden>)
 >Re: Problems with authenticated background downloads involving a 301 redirect (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: How do I obtain the proper credentials to test Handoff?
  • Next by Date: Configure socket used by NSURLConnection?
  • Previous by thread: Re: Problems with authenticated background downloads involving a 301 redirect
  • Next by thread: NTLM authentication
  • Index(es):
    • Date
    • Thread