Author Topic: Automatic login to Roundcube using curl‏  (Read 7082 times)

Offline coolatt

  • Jr. Member
  • **
  • Posts: 13
Automatic login to Roundcube using curl‏
« on: March 22, 2010, 03:26:28 AM »
Hi All,

I have configured RoundCube with SSL, the  login url is https://webmail.xxx.mu/

I want to login automatically to this url using curl from within a PHP application(using php curl library) inorder to implement a single signon solution.

Can someone please help me with this ??

Thanks
coolatt

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Automatic login to Roundcube using curl‏
« Reply #1 on: March 22, 2010, 06:40:43 AM »
You can't login by cURL because it won't establish a valid session between the client browser and Roundcube.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline coolatt

  • Jr. Member
  • **
  • Posts: 13
Automatic login to Roundcube using curl‏
« Reply #2 on: March 23, 2010, 06:27:27 AM »
Is there any work around to this problem ??
Please help me. thanks :(

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Automatic login to Roundcube using curl‏
« Reply #3 on: March 23, 2010, 08:18:06 AM »
What do you mean with a single sign on solution? If you are thinking about a single user environment, then check this: Howto: customize your roundcube webmail service in an easy way - Aidam IT-Services Development Blog

If you are looking for kind a AJAX based login behind the sceeneries then check my logout_redirect plugin (http://myroundcube.googlecode.com).
« Last Edit: March 23, 2010, 08:20:24 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)