Hi All,
I am trying to request a secure session token for the calender feed.
My request returns a 'Signature is invalid' exception. Here is what I
did.
1. Registered my webapp online with a .pem certificate.
2. User logged into my webapp and got redirected to authsub page.
3. User grants access and my webapp gets a single use token.
4. The webapp makes an api call through gdata java client library to
get the secure token: AuthSubUtil.exchangeForSessionToken(token,
privKey). The private key is passed to the gdata library for signing
the request. I checked the auth header to see if all the required data
is present and all seemed to be good.
5. The service responds with the following exception.
com.google.gdata.util.AuthenticationException: 401: Signature is
invalid
at
com.google.gdata.client.http.AuthSubUtil.exchangeForSessionToken(Unknown
Source)
at
com.google.gdata.client.http.AuthSubUtil.exchangeForSessionToken(Unknown
Source)
Did anybody face such an issue? Appreciate any help.
Thanks,
Abbas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---