Roundcube Community Forum

 

Automatic/Direct SSO login from Existing Backend Application

Started by aniket_in, November 03, 2023, 12:28:03 PM

Previous topic - Next topic

aniket_in

Hi,

I'm very new to RoundCube,
I was trying to use RC as my webmail client.
My requirement is to, automatically log users in to RC.

My existing backend application is built with PHP (Laravel)
I was thinking of a process like this:
- Laravel generates a Magic Login Link with some sort of Token, and redirects user to that URL.
- And after redirect User is logged in to his/her email account.

If someone can guide, how should I approch this.
Or if there is some plugin helps with this.

Thank you :)

JohnDoh

Roundcube ships with an example plugin called autologon. Have a look at that, it has the basics of how to perform an automatic login to Roundcube.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...