[dancer-users] Single login to multiple domains

Matthew Mallard matt at q-technologies.com.au
Tue Jun 2 02:48:38 EDT 2020

Without knowing how you have currently set up auth, I would probably centralise the authentication to a separate service that each of the your apps (domains) reached out to check whether the user was already logged into your realm and whether they were allowed access to that particular domain.  That way you can have exceptions down the track (if that becomes a requirement).

Does that help or were you looking for something lower level?

> On 2 Jun 2020, at 4:34 pm, Gabor Szabo <szabgab at gmail.com> wrote:
> Hi,
> I run both the Perl Maven site https://perlmaven.com/ <http://perlmaven.com/> and the Code Maven site https://code-maven.com/ <http://code-maven.com/> on the same Dancer2 application. They even share the database behind.
> Both also have several language-specific hostnames. e.g. one in Telugu: https://te.perlmaven.com/ <https://te.perlmaven.com/>
> I would like to allow my users to log in any of the sites and then be already logged in all of the others. So they won't need to authenticate again.
> How could I achieve this?
> Gabor
>  <mailto:dancer-users at lists.preshweb.co.uk>_______________________________________________
> dancer-users mailing list
> dancer-users at lists.preshweb.co.uk
> https://lists.preshweb.co.uk/mailman/listinfo/dancer-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20200602/7313ba76/attachment.htm>

More information about the dancer-users mailing list