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@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/ and the Code Maven site https://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 list
dancer-users@lists.preshweb.co.uk
https://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________
dancer-users mailing list
dancer-users@lists.preshweb.co.uk
https://lists.preshweb.co.uk/mailman/listinfo/dancer-users