MarsEdit on LiveJournal (marsedit) wrote in lj_dev,
MarsEdit on LiveJournal
marsedit
lj_dev

LiveJournal WSSE authentication bug

I was having a terrible time figuring out why I couldn't get at the /interface/atom URL for LiveJournal. No matter what I did, I got a 401 response code, even though I specified the required WSSE authentication credentials.

I think I figured it out. LiveJournal won't accept WSSE credentials that are built using a timestamp with a timezone offset in it. For instance, building a WSSE credential with:

2007-03-18T19:10:16-05:00

fails, but with:

2007-03-18T19:10:16Z

succeeds.

I can change my code to always use GMT timestamps, but I think this should be fixed to better accommodate other clients who may be using timestamps with non-GMT offsets.

Daniel Jalkut
Red Sweater Software
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment