Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Roundcube Community Forum
»
Third Party Contributions
»
API Based Plugins
»
Roundcube login in external website
« previous
next »
Print
Pages: [
1
]
Author
Topic: Roundcube login in external website (Read 7590 times)
Silpion
Newbie
Posts: 1
Roundcube login in external website
«
on:
August 16, 2012, 06:53:58 PM »
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
Logged
SKaero
Administrator
Hero Member
Posts: 5,879
Re: Roundcube login in external website
«
Reply #1 on:
August 16, 2012, 08:03:46 PM »
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.
Logged
SK
aero
teebsd
Newbie
Posts: 5
Re: Roundcube login in external website
«
Reply #2 on:
January 24, 2014, 09:05:39 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.
Logged
Print
Pages: [
1
]
« previous
next »
Roundcube Community Forum
»
Third Party Contributions
»
API Based Plugins
»
Roundcube login in external website