Hi
I use roundcube with a webSSO, where it never have the IMAP password. Instead it receive an authentication token from apache and sends it to the IMAP server, which will validate it using a PAM module.
The authentication token is valid within a time frame. When it expires, roundcube is denied access and it displays a "Server error (No connection)" message. Recovering from there is as simple as reloading the page: apache re-authenticate the user, a fresh token is generated and things work again.
Question is: do I have a way to catch the error message, and juste cause a page reload instead of displaying it?
Hi,
We had the same problems using CAS auth, watch on https://github.com/dfwarden/Roundcube-CAS-Authn, we pushed an option to set a timeout to renew the PT after the timeout.
Thanks
Le 20/12/2013 09:37, Emmanuel Dreyfus a écrit :
Hi
I use roundcube with a webSSO, where it never have the IMAP password. Instead it receive an authentication token from apache and sends it to the IMAP server, which will validate it using a PAM module.
The authentication token is valid within a time frame. When it expires, roundcube is denied access and it displays a "Server error (No connection)" message. Recovering from there is as simple as reloading the page: apache re-authenticate the user, a fresh token is generated and things work again.
Question is: do I have a way to catch the error message, and juste cause a page reload instead of displaying it?