Roundcube Community Forum

 

Roundcube login in external website

Started by Silpion, August 16, 2012, 06:53:58 PM

Previous topic - Next topic

Silpion

Hi,

Any way to put roundcube login and password field in external website? The page is situated out of roundcube domain, although their are in the same server connected with an absolute path. I've tried all methods, as one described under http://blog.philippheckel.com/2008/05/16/roundcube-login-via-php-script/ but none of them works. Other, including my own scripts ends with "invalid request" reply due to invalid token input (one, captured with pregmatch method doesn't correspond with the proper one as the IP address is different). I can't pull out any information from CURL, because all post information after the proper login are build within javascript.

Please, help.

Regards, Tom

SKaero

If you control RoundCube you could make a plugin to do it. You'd want to store some sort of token in a database instead of cookies.

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.