On May 31, 2006, at 3:50 AM, Thomas Bruederli wrote:
till wrote:
Hi Liam,
On 5/19/06, liamr@umich.edu liamr@umich.edu wrote:
In our environment, our login credentials are supplied by our Web
ISO / SSO, CoSign (weblogin.org). It would be very cool if roundcube
would recognize when such things are set (say... $_SERVER ['REMOTE_USER'], or $_SERVER['PHP_AUTH_USER'] & $_SERVER['PHP_AUTH_PW']) and skip the
login screen, logging into the IMAP server w/ the provided credentials.You can write a gateway which takes your environment and sends it to RC. There's been a couple threads where people describe how to login from a non-roundcube page and you can utilize one of those to create your "gateway".
Good point. There's a ticket (http://trac.roundcube.net/trac.cgi/ticket/1483811) which should make user login from other sources/forms easier once the _auth hash is nor required.
~Thomas
I added a "Remember me on this computer" option (like Gmail) to our
Roundcube install, which stores the username and encrypted password
as a cookie. That way, the user can choose to be logged for as long
as possible (until they explicitly click Logout). You could set the
username/password cookie from another login front-end.
If anyone's interested I can post a patch. It's probably not the
cleanest code in the world though.
Rich