I've an android application that needs to navigate to a google service webpage (say calendar). Because I already have a Auth Token (using Android Accounts manager), I want to skip user being redirected to web login. Would auto-login be possible using authtoken ? If yes, what is the exact Url with params
Asked
Active
Viewed 1,381 times
2
-
Have you found an acceptable answer? Please mark it if so. – fearmint Feb 06 '11 at 15:20
2 Answers
1
you would append ?auth= to the url. I don't know if that works with all google urls, but for google voice and a couple others i've seen it work.

Ryan Conrad
- 6,870
- 2
- 36
- 36
-
i tried with ?auth, ?token, nothing seems to work. Im surprised there's no clear documentation on this. – Taranfx Jun 24 '10 at 09:05
0
You need to use a cookie.
First do a GET on this URL with the auth token at the end: http://.appspot.com/_ah/login?continue=/stats&auth=
Then extract the cookie from the response and add it to the HTTP headers of all subsequent requests.

quikchange
- 564
- 2
- 6
- 14