[sldev] More about viewer auth in today's RC
Lawson English
lenglish5 at cox.net
Fri Dec 7 09:13:35 PST 2007
Anders Arnholm wrote:
> On Thu, Dec 06, 2007 at 11:30:08PM -0700, Lawson English wrote:
>
>> Anders Arnholm wrote:
>> 1) viewer(browser) => webpage => url+UUID (cap) => viewer
>> or
>> 2) 3rd part browser => webpage => url + UUID (cap) => viewer
>>
>
> One think i don't know and to be honest can't find any info about is
> what is needed to get the webpage working, HTML4, XHTML, CSS,
> JavaScript. However my main fucus is understanding HOW TEH F**K to get
> the (NOW AGAIN OUTDATED) WindLight source to compile....
>
>
Well, the source code I pointed to was in Python.
https://wiki.secondlife.com/wiki/Example_protocol_code
to summarize
https POST: to "secure-web14.secondlife.com".
path: "/inworld/go.php"
headers: "Content-type"=
"application/x-www-form-urlencoded"="Accept="text/plain"
body: 'username' ='Firstname', 'lastname' = 'Lastname', 'password' =
'password secret psst!',
'continuation' = '','grid' ='agni', 'location' = 'home',
The response will be a dictionary that includes the web_login_key,
firstname, lastname,location...
So use those values (which you used to get via the dialog box in the
viewer) in the xmlprc call you normally do for login but substitute the
web_login_key key/value pair for the password/"1$1" +
md5_encrypted_password key/value pair.
The response to the xmlrpc call will be the same as before.
https://wiki.secondlife.com/wiki/Current_login_protocols
More information about the SLDev
mailing list