Roundcube Community Forum

Release Support => Pending Issues => Topic started by: erkz on January 16, 2013, 03:01:32 PM

Title: php login to roundcube
Post by: erkz 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
Title: Re: php login to roundcube
Post by: erkz on January 17, 2013, 05:36:30 PM
Still need help, please! [bump]
Title: Re: php login to roundcube
Post by: SKaero on January 17, 2013, 06:48:56 PM
You can use a modified version of the autologin plugin to turn off the token check.
Title: Re: php login to roundcube
Post by: erkz 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?
Title: Re: php login to roundcube
Post by: SKaero on January 18, 2013, 06:52:35 AM
Its pretty straight forward if you know php, I don't know of any examples.
Title: Re: php login to roundcube
Post by: erkz 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
Title: Re: php login to roundcube
Post by: teebsd 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.
Title: Re: php login to roundcube
Post by: huglester 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