Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Changes to sending authenticated requests to Google Reader
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 37 of 37 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mariano Kamp  
View profile  
 More options Mar 4 2010, 4:26 pm
From: Mariano Kamp <mariano.k...@gmail.com>
Date: Thu, 4 Mar 2010 22:26:33 +0100
Local: Thurs, Mar 4 2010 4:26 pm
Subject: Re: Changes to sending authenticated requests to Google Reader

I'll download your widget to a 2.0.1 widget tomorrow and feed back.

On Thu, Mar 4, 2010 at 10:24 PM, ubikdroid <markst3v...@googlemail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariano Kamp  
View profile  
 More options Mar 4 2010, 4:26 pm
From: Mariano Kamp <mariano.k...@gmail.com>
Date: Thu, 4 Mar 2010 22:26:45 +0100
Local: Thurs, Mar 4 2010 4:26 pm
Subject: Re: Changes to sending authenticated requests to Google Reader

widget -> device

On Thu, Mar 4, 2010 at 10:26 PM, Mariano Kamp <mariano.k...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefan Kyntchev  
View profile  
 More options Mar 4 2010, 4:38 pm
From: Stefan Kyntchev <skyntc...@gmail.com>
Date: Thu, 4 Mar 2010 13:38:05 -0800 (PST)
Local: Thurs, Mar 4 2010 4:38 pm
Subject: Re: Changes to sending authenticated requests to Google Reader
I can't agree more. Seems like at Google, blog posts are the primary
way to provide such documentation, so hopefully some of the Android
engineers will write how to authenticate against their own Google
services.

I have 2 apps (a test app and my main BeyondPod app) both were signed
with the same (debug) certificate at the time of the test. Both
prompted for access and both got the same token. (This is on Nexus One
2.1 device)

I wonder if you by any chance both widgets are installed under the
same OS account (there was something in the manifest that allows you
to make 2 apps run under the same OS account).

Stefan

On Mar 4, 4:09 pm, Mariano Kamp <mariano.k...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariano Kamp  
View profile  
 More options Mar 5 2010, 4:09 am
From: Mariano Kamp <mariano.k...@gmail.com>
Date: Fri, 5 Mar 2010 10:09:56 +0100
Local: Fri, Mar 5 2010 4:09 am
Subject: Re: Changes to sending authenticated requests to Google Reader

Mark, I tried on 2.0.1/Milestone and didn't run into the same error my
implementation hits. The currently released Widget in the Market sports the
new authentication? I selected "use account on this phone" or similar.

Stefan, I also tried yours 2.2..9 with the same effect that I see (afterward
it seems to just hang "Retrieving Account Details") :

V/BeyondPod( 2062): --- BeyondPod Global WiFi WakeLock released!  (21 ms.
since last trace)   [BeyondPodApplication]
D/dalvikvm( 1244): GC freed 8769 objects / 505928 bytes in 146ms
E/WindowManager( 1170): Unknown window type: 2008
I/ActivityManager( 1170): Starting activity: Intent {
act=android.intent.action.MAIN flg=0x10100000
cmp=mobi.beyondpod/.ui.views.Splash }
D/dalvikvm( 1517): GC freed 2388 objects / 109448 bytes in 107ms
W/ResourceType( 1230): No package identifier when getting name for resource
number 0x00000000
E/JavaBinder( 1230): *** Uncaught remote exception!  (Exceptions are not yet
supported across processes.)
E/JavaBinder( 1230): android.content.res.Resources$NotFoundException: String
resource ID #0x0
E/JavaBinder( 1230): at
android.content.res.Resources.getText(Resources.java:200)
E/JavaBinder( 1230): at
android.content.res.Resources.getString(Resources.java:253)
E/JavaBinder( 1230): at android.content.Context.getString(Context.java:149)
E/JavaBinder( 1230): at
com.google.android.googleapps.GoogleLoginService$AccountAuthenticatorImpl.g etAuthTokenLabel(GoogleLoginService.java:586)
E/JavaBinder( 1230): at
android.accounts.AbstractAccountAuthenticator$Transport.getAuthTokenLabel(A bstractAccountAuthenticator.java:155)
E/JavaBinder( 1230): at
android.accounts.IAccountAuthenticator$Stub.onTransact(IAccountAuthenticato r.java:123)
E/JavaBinder( 1230): at android.os.Binder.execTransact(Binder.java:287)
E/JavaBinder( 1230): at dalvik.system.NativeStart.run(Native Method)

Guys, btw., your login integrations look really nice.

Anyway, given that at least (2/3) of our implementations are also not
working on Android 2.0, not for Google Apps accounts, not for re-login, to
use them it was necessary to decompile proprietary Google classes to know
what parameters too set, the Google provided GUIs look like prototypes and
that there is absolutely zero documentation ... maybe it is a hint that
despite the pressure to have such a solution, it is just not ready for prime
time.

Maybe Android 2.2 will be better and maybe there will be documentation or at
least the officially open sourced Google provided apps (Contacts, Calendar,
...) will use the new API without relying on closed source bits.

On Thu, Mar 4, 2010 at 10:26 PM, Mariano Kamp <mariano.k...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark  
View profile  
 More options Mar 5 2010, 8:46 am
From: Mark <markst3v...@googlemail.com>
Date: Fri, 5 Mar 2010 13:46:38 +0000
Local: Fri, Mar 5 2010 8:46 am
Subject: Re: Changes to sending authenticated requests to Google Reader

Thanks for testing on the Milestone. The current version of my apps in the
market still use the old GoogleLoginServiceBlockingHelper.getAuthToken()
method. I have just updated them to send the token in the new header instead
of the cookie.

On 5 March 2010 09:09, Mariano Kamp <mariano.k...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefan Kyntchev  
View profile  
 More options Mar 5 2010, 9:29 am
From: Stefan Kyntchev <skyntc...@gmail.com>
Date: Fri, 5 Mar 2010 06:29:52 -0800 (PST)
Local: Fri, Mar 5 2010 9:29 am
Subject: Re: Changes to sending authenticated requests to Google Reader
Mariano, thanks for the test.
I had a small hope that that I may be using a slightly different
"attack vector" in my call, but I guess it all boils down to the same
authentication code.

Stefan

On Mar 5, 8:46 am, Mark <markst3v...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edwin Khodabakchian  
View profile  
 More options Mar 17 2010, 11:39 pm
From: Edwin Khodabakchian <edwin.khodabakch...@gmail.com>
Date: Wed, 17 Mar 2010 20:39:45 -0700 (PDT)
Local: Wed, Mar 17 2010 11:39 pm
Subject: Re: Changes to sending authenticated requests to Google Reader
Thanks for the heads up. One question: ClientLogin seems to depend on
the application asking the user for their username and password. We
have been trying to stay away from that pattern. Will there be an
alternative OAuth or AuthSub mechanism we could use that would be
based on a redirect pattern?

Thank you!
-Edwin

On Feb 10, 5:12 pm, Brad Hawkes <bhaw...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jkramer  
View profile  
 More options Mar 18 2010, 5:30 am
From: jkramer <nexing...@googlemail.com>
Date: Thu, 18 Mar 2010 02:30:53 -0700 (PDT)
Local: Thurs, Mar 18 2010 5:30 am
Subject: Re: Changes to sending authenticated requests to Google Reader
Hi,

I'm currently changing my Google Reader app Unread to use the new
authentication method, but while testing it I think I found a problem.
I'm requesting the first set of cookies like this:

$ curl -s 'https://www.google.com/accounts/ClientLogin' -d
accountType=GOOGLE -d Email=exam...@googlemail.com -d Passwd=example -
d service=reader

This works fine, I get SID, LSID and Auth. However, when I try to
request the token needed for Google Reader, only SID seems to work,
not Auth:

$ curl -s https://www.google.com/reader/api/0/token -b Auth=$AUTH
<html><head><title>403 Forbidden</title>
[...]
Your client does not have permission to get URL <code>/reader/api/0/
token</code> from this server.
[...]

$ curl -s https://www.google.com/reader/api/0/token -b SID=$SID
[returns token code]

I also tried GOOGLE_OR_HOSTED for accountType, no change.

On Feb 11, 1:12 am, Brad Hawkes <bhaw...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jkramer  
View profile  
 More options Mar 18 2010, 5:55 am
From: jkramer <nexing...@googlemail.com>
Date: Thu, 18 Mar 2010 02:55:16 -0700 (PDT)
Local: Thurs, Mar 18 2010 5:55 am
Subject: Re: Changes to sending authenticated requests to Google Reader
Sorry, my fault. I should have read more carefully. This works:

curl -s https://www.google.com/reader/api/0/token -H
"Authorization:GoogleLogin auth"=$AUTH

On Mar 18, 10:30 am, jkramer <nexing...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mihai Parparita  
View profile  
 More options Jun 22 2010, 4:13 pm
From: Mihai Parparita <mih...@google.com>
Date: Tue, 22 Jun 2010 16:13:16 -0400
Local: Tues, Jun 22 2010 4:13 pm
Subject: Re: Changes to sending authenticated requests to Google Reader

Just as a heads up, we've finally rolled this out everywhere, authentication
via SID cookie is no longer supported (ClientLogin and OAuth are the
preferred methods).

Mihai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariano Kamp  
View profile  
 More options Jun 23 2010, 1:53 am
From: Mariano Kamp <mariano.k...@gmail.com>
Date: Wed, 23 Jun 2010 07:53:19 +0200
Local: Wed, Jun 23 2010 1:53 am
Subject: Re: Changes to sending authenticated requests to Google Reader

Thanks for giving us ample time before turning off the old way.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Khash  
View profile  
 More options Jun 23 2010, 6:55 am
From: Khash <khash.saj...@gmail.com>
Date: Wed, 23 Jun 2010 03:55:45 -0700 (PDT)
Local: Wed, Jun 23 2010 6:55 am
Subject: Re: Changes to sending authenticated requests to Google Reader
So far as I can see, OAuth is not officially supported either
(although it works). Is there a reason for that? Is it going to ever
be official? (well the whole API is unofficial!)

On Jun 22, 9:13 pm, Mihai Parparita <mih...@google.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »