Page 1 of 1

Auto-login for safe networks

PostPosted: Tue Sep 25, 2007 6:54 pm
by Prem
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!

PostPosted: Tue Sep 25, 2007 7:54 pm
by sindre_mehus
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

PostPosted: Sat Nov 01, 2008 11:19 am
by sindre_mehus
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