this post was submitted on 05 Jun 2023
145 points (100.0% liked)
Lemmy
12524 readers
1 users here now
Everything about Lemmy; bugs, gripes, praises, and advocacy.
For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Would it be possible for there to be a cookie or something that stores the home instance of the user that other Lemmy instances can then read and redirect the user to? I'm not very knowledgeable with stuff like that but it sounds like it could work
I'm not a frontend dev, and I feel like CORS stuff comes into play here, but it should be possible to do something like the "Sign In With Facebook" or "Pay with Paypal" type of redirect after asking the user for their host. At very worst it should be possible to have Instance B's backend send a call to Instance A after the user provides it with the name of the other instance, but you need to be careful about validating the legitimacy of the request in that case. There's a lot of room for better cryptography/signatures in activitypub I'd imagine that could help.
That would probably require third party cookies which most people block for very valid reasons