Roundcube Community Forum

 

Login Integration

Started by kuemerle5, July 19, 2008, 03:50:59 PM

Previous topic - Next topic

kuemerle5

I have made a script to automatically login to RoundCube with the user, pass, host, and the hidden fields. The script passes the POST data to RoundCube. When I try to login with my script, everything is filled out correctly except for the password and it says that my browser does not support cookies. I think I have pinpointed the cause of this problem, though. The session cookie that Round Cube creates when you visit the login page does not exist when the login is handled, and I assume that RoundCube drops the password in the partially filled out login form. I would like to know how to bake this cookie (pun intended) so that I can login to RoundCube from an outside script. I have no security restrictions on my server, and it is a PHP script.:confused:

I would greatly appreciate any help. Thanks guys!

Sorry, but I won't be able to reply or look at this topic until Saturday, July 26 2008, due to vacation.

rosali

Could you please post your script?

-Roland
Regards,
Rosali

kuemerle5




Whoops!
@



Where's your password?







The span elements are used for the SPRY framework textfield validation.

rosali

I cleared all my cookies, put your script in the parent folder of RoundCube, modified the form action to point to RoundCube folder and changed the host field to localhost.

Worked! There is no cookie warning for me ???

(tested on IE7 with latest RoundCube SVN)

-Roland
Regards,
Rosali