Hi Wai,
There are a few current issues with the secured AuthSub implementation in the .NET library which prevent it from generating a proper signature that is used in the Authorization header. After I made a few fixes, I am able to do both gets and deletes with a secured token. I'm going to be submitting patches for these bugs. Did you modify the source of the library to fix the few bugs? If not, I'm curious as to how it is working for gets and inserts? If you have not modified the library in any way, please verify that you're passing 'secure=1' to: https://www.google.com/accounts/AuthSubRequest You should not see the yellow background warning when visiting the page to Authorize your account. Thanks, -Ryan On Dec 20 2006, 9:28 am, "Wai" <[EMAIL PROTECTED]> wrote:
Hi I am getting different behaviours using unsecured and secure token authorization using the .NET 1.08 source code from Subversion. If I am NOT using token authentication (i.e setting the user credentials) or using an unsecured token - gets, inserts, updates, and deletes are working fine. Using a secure token, where I have registered my certificate with Google, gets and inserts are fine, but updates and deletes always fail with the following response :- <HTML> <HEAD> <TITLE>Unknown authorization header</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1>Unknown authorization header</H1> <H2>Error 401</H2> </BODY> </HTML> The calendar URI I am using for secure tokens ishttp://www.google.com/calendar/feeds/default/private/full Can you make any suggestions please? Best regards Wai
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
