<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">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).<div class=""><br class=""></div><div class="">Does that help or were you looking for something lower level?<br class="">
<div><br class=""><blockquote type="cite" class=""><div class="">On 2 Jun 2020, at 4:34 pm, Gabor Szabo <<a href="mailto:szabgab@gmail.com" class="">szabgab@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class="gmail_quote"><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><div class=""><br class=""></div><div class="">I run both the Perl Maven site <a href="http://perlmaven.com/" target="_blank" class="">https://perlmaven.com/</a> and the Code Maven site <a href="http://code-maven.com/" target="_blank" class="">https://code-maven.com/</a> on the same Dancer2 application. They even share the database behind.</div><div class="">Both also have several language-specific hostnames. e.g. one in Telugu: <a href="https://te.perlmaven.com/" target="_blank" class="">https://te.perlmaven.com/</a></div><div class=""><br class=""></div><div class="">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.<br class=""></div><div class=""><br class=""></div><div class="">How could I achieve this?</div><div class=""><br class=""></div><div class="">Gabor<br class=""></div></div></div></div></div><a href="mailto:dancer-users@lists.preshweb.co.uk" class=""></a></div>
_______________________________________________<br class="">dancer-users mailing list<br class=""><a href="mailto:dancer-users@lists.preshweb.co.uk" class="">dancer-users@lists.preshweb.co.uk</a><br class="">https://lists.preshweb.co.uk/mailman/listinfo/dancer-users<br class=""></div></blockquote></div><br class=""></div></body></html>