Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

WIP: Redirect back to preprint when logging in through extension off-site #173

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

harumhelmy
Copy link
Contributor

When logging in through the Firefox extension when on a preprint server page, Firefox will log user in and then redirect to the preprint server.

The drawer/pull-up shell doesn't seem to be recognizing the logged-in user on Chrome, though! Stuck on this ATM.

@leonardosfl
Copy link
Contributor

leonardosfl commented Aug 22, 2020

Chrome 84+ is blocking the rapid.sid cookie because it does not contain the SameSite attribute. To fix this, we are going to need to set the SameSite=None and Secure attributes.

The Secure attribute requires a secure connection to work. I don't have a HTTPS environment set up here, so I'm unable to work on this right now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants