[sldev] More about viewer auth in today's RC

Tess Chu tess at lindenlab.com
Fri Dec 7 17:32:27 PST 2007


Here's some additional information:

Currently, the login form lives here:  
https://secondlife.com/app/login/index.php?show_login_form=True
This URL can be set on the client in an xml file:  
skins/xui/en-us/panel_login.xml
I just created this Jira task to add a client option to set this URL:
    http://jira.secondlife.com/browse/VWR-3741 "-loginpage <url> option 
to client"
This feature will be useful for folks using OpenSim who would have a 
separate authentication page.  Clients of OpenSim would just need to set 
-loginpage  and -loginuri  to connect.

[ Show » <https://jira.lindenlab.com/browse/DEV-6839> ]
Tess Chu <https://jira.lindenlab.com/secure/ViewProfile.jspa?name=tess> 
- 2007/Dec/07 03:36 PM Here it is: skins/xui/en-us/panel_login.xml
Also, I've been asked to clarify:  *We will not change this form without 
notice to sldev.

*Thanks,
Tess

Lawson English wrote:
> 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