Author Topic: Automatic/Direct SSO login from Existing Backend Application  (Read 1489 times)

Offline aniket_in

  • Newbie
  • *
  • Posts: 1
Automatic/Direct SSO login from Existing Backend Application
« 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 :)

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: Automatic/Direct SSO login from Existing Backend Application
« Reply #1 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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦