You need to return true for invalidatesIdentity from your
challengeReceived method.

-Darin



On 24 Apr 2006 07:28:52 -0700, Gary van der Merwe <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm trying to write a nsIHttpAuthenticator for GoogleLogin
> (http://code.google.com/apis/accounts/AuthForInstalledApps.html)
>
> I've created a extension that has a nsIHttpAuthenticator component that
> registers it's self as
> "@mozilla.org/network/http-authenticator;1?scheme=googlelogin".
>
> When I try access a page that requires GoogleLogin authentation (such
> as http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full/
> ), the generateCredentials is called, but there is no prompt for a user
> name and password, and the user name and password passed to the method
> is allways null.
>
> Is there something special I need to do to get browser to prompt for a
> username and password?
>
> I've uploaded my extension to here
> http://garyvdm.googlepages.com/GoogleLogin.xpi - if you wish to look at
> the code.
>
> Gary
>
> _______________________________________________
> dev-tech-network mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-network
>
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to