Auto-login for safe networks

Tutorials, tips and tricks.

Moderator: moderators

Auto-login for safe networks

Postby Prem » Tue Sep 25, 2007 6:54 pm

I am aware of the 'remember me' option when logging in, but is there a way to auto-login subsonic?
For example by including the credentials in the URL, or by making Subsonic recognise current usename and password of the MS Windows account.
I use subsonic in a safe vpn network.

Thank
Prem

By the way..Subsonic is amazing software, this latest beta release added some very interesting features. Thanks!
Prem
 
Posts: 12
Joined: Tue Sep 25, 2007 5:59 pm

Postby sindre_mehus » Tue Sep 25, 2007 7:54 pm

Hi,

You can bypass the login dialog by using the following URL:

Code: Select all
http://yourhost/subsonic/j_acegi_security_check?j_username=guest&j_password=guest&_acegi_security_remember_me=checked


This will auto-logon the given user ("guest" in this case)

Sindre
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby sindre_mehus » Sat Nov 01, 2008 11:19 am

This has been simplified in Subsonic 3.5 and later. You can now use the following url:

Code: Select all
http://yourhost/subsonic/login.view?user=guest&password=guest
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 8 guests