Re: Why won't Gmail cooperate with authentication delegate methods? (Gmail RSS feeds do.)
Re: Why won't Gmail cooperate with authentication delegate methods? (Gmail RSS feeds do.)
- Subject: Re: Why won't Gmail cooperate with authentication delegate methods? (Gmail RSS feeds do.)
- From: "mm w" <email@hidden>
- Date: Wed, 13 Aug 2008 09:38:39 -0700
hi, do you use gdata obj-c client?
I think it's a cookie problem, did you ask for an auth basic?
On Wed, Aug 13, 2008 at 9:05 AM, Sumner Trammell
<email@hidden> wrote:
> (I realize that this is bordering on a Google API question, but there
> is some Cocoa content.)
>
>
>
> Hi. One can whip up a WebKit/Cocoa app, aim it at a Gmail URL like this:
>
> https://www.google.com/accounts/ServiceLoginAuth?continue=http://mail.google.com/gmail&service=mail&Email=YOUR_LOGIN&Passwd=YOUR_PASSWORD&null=Sign+in
>
> and get automatically logged into her Gmail account. Pretty cool.
>
>
>
>
>
>
>
> Even cooler, in my opinion, is implementing this delegate method:
>
> - (void)webView:(WebView *)aSender
> resource:(id)anIdentifier
> didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)aChallenge
> fromDataSource:(WebDataSource *)aDataSource
>
> (Pages 20-21 of the URL Loading System documentation have the details.)
>
> So now, when you aim your app at the Gmail RSS feed URL:
>
> https://mail.google.com/mail/feed/atom
>
>
> you are authenticated automatically as well.
>
>
>
>
>
>
>
> The second case has me wishing there were a special URL for the first
> case that used standard authentication. (And thus would work with
> authentication delegate methods.)
>
> I tried the obvious, https://mail.google.com/mail, and that doesn't
> work. I'm still presented with the Gmail login form screen.
>
> Does anyone know if a special URL exists for Gmail that uses standard
> SSLv3 authentication like the Gmail RSS feed URL does?
>
>
>
>
>
> Thanks,
> -s
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
--
-mmw
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden