[dancer-users] Single login to multiple domains

Jon Ferwerda jonathan.ferwerda at gmail.com
Wed Jun 3 04:30:00 EDT 2020


This might be a long shot, you could give the browser a UUID, which you
encrypt on the server, and send to the client as a localStorage using:

https://github.com/zendesk/cross-storage

Then using a combination of $.ajaxSetup and hooks, you can verify your
user's identity.


Jawn

On Wed, 3 Jun 2020 at 04:12, Kenneth Ölwing <kenneth at olwing.se> wrote:

> PMFJI, I honestly don't really know crap about it, but my immediate
> reaction was to google for 'cross domain cookies' which gives a lot of
> seemingly useful hits...
>
> Definitively just a wild guess, so if it helps it helps, otherwise
> disregard...:-)
>
> ken1
> On 2020-06-02 08:34, Gabor Szabo 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/
>
> 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
>
> _______________________________________________
> dancer-users mailing listdancer-users at lists.preshweb.co.ukhttps://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
> _______________________________________________
> 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/20200603/a97ec9e5/attachment.htm>


More information about the dancer-users mailing list