You are not logged in.
Pages: 1
The timestamp is returned from the server with a text/plain content-type but the nonce is return with content-type set to JSON. Should
aHead := 'Content-Type: '+TEXT_CONTENT_TYPE;
be added to TSQLRestServer.Auth in SQLite3Commons.pas?
I'm trying to use javascript to authenticate.
Offline
Yes this shall be the case.
I've commit this modification:
http://synopse.info/fossil/info/f888f68320
Thanks for the feedback.
Your resulting javascript code should be very interesting.
Offline
Thanks a lot.
I've only got as far as decoding the server timestamp and working out the offset in javascript but I'll post when I've got something working.
Offline
Pages: 1