Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: aniket_in on November 03, 2023, 12:28:03 PM

Title: Automatic/Direct SSO login from Existing Backend Application
Post by: aniket_in on November 03, 2023, 12:28:03 PM
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 :)
Title: Re: Automatic/Direct SSO login from Existing Backend Application
Post by: JohnDoh on November 04, 2023, 06:51:13 AM
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.