Roundcube Community Forum

 

php login to roundcube

Started by erkz, January 16, 2013, 03:01:32 PM

Previous topic - Next topic

erkz

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

erkz

Still need help, please! [bump]

SKaero

You can use a modified version of the autologin plugin to turn off the token check.

erkz

Quote from: 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.
Is there any example, or do I need to check out the files?

SKaero

Its pretty straight forward if you know php, I don't know of any examples.

erkz


teebsd

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.

huglester

Hello,

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