Author Topic: php login to roundcube  (Read 9921 times)

Offline erkz

  • Newbie
  • *
  • Posts: 7
php login to roundcube
« on: January 16, 2013, 03:01:32 PM »
Hey. I've made a new website and I'm using Roundcube as a webmail reader. I was wondering if there were any php scripts for external login? I've tried to copy the action form straight from the login page, but I need a new token every time and I don't find any way of updating it on my homepage(index.php).

I have roundcube on a subdomain :)

I found a script (http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/) but it was outdated. I have version 0.8

Friendly regards
Erik Nilsen, http://dyx.no

Offline erkz

  • Newbie
  • *
  • Posts: 7
Re: php login to roundcube
« Reply #1 on: January 17, 2013, 05:36:30 PM »
Still need help, please! [bump]

Online SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: php login to roundcube
« Reply #2 on: January 17, 2013, 06:48:56 PM »
You can use a modified version of the autologin plugin to turn off the token check.

Offline erkz

  • Newbie
  • *
  • Posts: 7
Re: php login to roundcube
« Reply #3 on: January 18, 2013, 04:31:49 AM »
You can use a modified version of the autologin plugin to turn off the token check.
Is there any example, or do I need to check out the files?

Online SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: php login to roundcube
« Reply #4 on: January 18, 2013, 06:52:35 AM »
Its pretty straight forward if you know php, I don't know of any examples.

Offline erkz

  • Newbie
  • *
  • Posts: 7
Re: php login to roundcube
« Reply #5 on: January 18, 2013, 10:46:12 AM »
I suggest everyone who wants a external login check this out..

https://github.com/gynter/Clevercube/blob/master/clevercube/README.md

Offline teebsd

  • Newbie
  • *
  • Posts: 5
Re: php login to roundcube
« Reply #6 on: January 24, 2014, 09:05:20 PM »
I finally made that. Check it out in my gist. https://gist.github.com/TeeBSD/8610622

Just make a patch.

PS: I need a job.

Offline huglester

  • Newbie
  • *
  • Posts: 1
Re: php login to roundcube
« Reply #7 on: December 18, 2014, 05:36:41 PM »
Hello,

in case someone is still not curious on how to do it, here is a howto: https://gist.github.com/huglester/0730e8b3835d039e1bb9