SnapLinksPlus
SnapLinksPlus copied to clipboard
getting logged out when using snaplinks
on https://mirrorwood.com/hold
I want to use snaplinks to open the creature pages. But when I do, I am logged out of the site in all the new tabs
That's bizarre, is this new behavior on that website? This isn't anything SnapLinks is even capable of doing.
What happens if you middle click a bunch of links quickly?
It has to be something they're doing on their end. There's literally nothing I do that would cause this, I'd have to be clearing cookies or session storage or messing up the link somehow and it would have shown up long before this.
what do you mean by middle click?
The middle mouse button on your mouse, the scroll wheel is also a middle button.
Clicking on a link w/ the middle button will open it in a new tab.
You can alternatively hold down ctrl on the keyboard while regular clicking a link to open it in a new tab.
Does the same behavior happen when you open the tabs quickly with middle-click or ctrl-click?
I also have this issue. Seems to be fine with middle clicks. Even selecting a single link with snaplinks that tab gets redirected to the login page. The site is an internal site written in Django framework.
If i do not complete the login on the new tab and return to the original tab, I'm logged out there too (refreshing that page or middle clicking a link now redirect to the login page)
This is typically due to a website doing something funky with its authentication that doesn't automatically transfer to a new window like persistent authentication normally should.
In your case, it could be that the middle click is opening a new window/tab, and that page is causing a logout to occur or some other way of invalidating your login session.
This should happen with or without SnapLinks on a middle or control-click (SnapLinks don't touch those).
I have switched to linkclump, that works ok with this site
Good to know, thanks!
Hello,
I'm hit by this too, on another site. It's 100% reproducible, it's possible to create an account if you want to test it. I confirm it does work with linkclump, but not with snaplinks, unfortunately...
Ah, it seems like the site creator found a thing. The site had SameSite=Strict as a cookie atttribute, and without it, snaplink works.
Interesting, thanks @alaunay for the additional feedback. I'm reopening this ticket to investigate further with the SameSite=Strict
web feature, perhaps I am not creating the new tab the most correct way any longer.