?

Log in

No account? Create an account
Auth Challenge troubles... - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Auth Challenge troubles... [Aug. 26th, 2004|12:42 am]
LiveJournal Client Discussions
lj_clients
[dagon]
I'm having a problem with getting the challenge method to work; in fact, I can't get it to work at all.

I've studied the protocol documentation and tried looking at the perl example, but I'm not all that familiar with perl.

For right now, in the first stages of my client development, I'm starting off with the flat protocol. I have the client logging in with the clear text, but I don't know how to do the challenge method.

What exactly am I supposed to send to the server to issue the challenge? And how is it sent?

"Essentially, you generate a challenge by issuing a blank request to the getchallenge method. If your method call is successful you're given:"

How is that blank request to the getchallenge method issued?

Thanks.
linkReply

Comments:
[User Picture]From: anne78
2004-08-25 11:15 pm (UTC)
Oops! You're totaly right. Serves me right for trying to write code from memory at 7am when I have had no sleep yet! lol
(Reply) (Parent) (Thread)
[User Picture]From: vanbeast
2004-08-25 11:17 pm (UTC)
If I hadn't just been telnetting to the server and issuing getchallenge commands to answer the post in the first place, there's no way I would have known! I've never used the flat protocol... on top of that, I've been in FotoBilder land, where everything is in HTTP headers anyway :)
(Reply) (Parent) (Thread)
[User Picture]From: anne78
2004-08-25 11:23 pm (UTC)
Of course I just noticed (from his main journal) that dragon is using VB6, so my C sntax code may be as lost on him as the PERL code!

My VB6 is rather rusty now so I best not attempt providing any code in it at this early hour of the morning!
(Reply) (Parent) (Thread)
[User Picture]From: anne78
2004-08-25 11:24 pm (UTC)
Sorry dagon! I really need sleep!
(Reply) (Parent) (Thread)