If your getting nil, there is nothing there. If the Auth token in the  
query string? For installed applications the auth token is in the  
body of the authentication request. And wouldn't the value be in a  
Response not a Request object?

On Feb 21, 2007, at 6:44 PM, brettmoreton2111 wrote:

>
> sorry, just to clarify:
>
> i'm trying to do the authentication using AuthSub. I've got the 'next'
> URL back from google with the authorization token attached, but i
> don't know how to get it into a variable so i can do other things with
> it.
>
> the suggested solution from the AuthSub guide is:
> String onetimeUseToken =
> AuthSubUtil.getTokenFromReply(httpServletRequest.getQueryString());
>
> but this doesn't seem to want to work, its returning a null value.
>
> Any ideas anyone?
>
> Thanks
>
> On Feb 22, 12:39 am, Jacob Basham <[EMAIL PROTECTED]> wrote:
>> Sorry, I just read your previous post, I'm not familiar with the Java
>> library, or working with web applications, but for normal apps the
>> auth token is part of the HTTP body.
>>
>> On Feb 21, 2007, at 4:44 PM, brettmoreton2111 wrote:
>>
>>
>>
>>> a simple question which will probably be obvious to some;
>>
>>> I'm trying to process the response from google after i get  
>>> redirected
>>> to my 'next' url, which contains the token. how do i get access to
>>> this token? i've tried accessing it from a doGet in my servlet,  
>>> but it
>>> won't work.
>>
>>> ideally i'd like to store this token into a variable, but i'm a  
>>> little
>>> inexperienced with servlets.
>>
>>> any help would be greatly appreciated.
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to