Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie-based auhentication for requests #373

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

martastain
Copy link
Member

@martastain martastain commented Apr 26, 2024

As we already use cookie authentication for thumbnails and avatar images, we could replace authorization of rest/graphql requests with the same method. This PR is a POC and it is not strictly required to be merged (maybe "experimental" label would be nice to have)

At this moment, it still stores access token in local storage as well because of the way websocket authentication is handled. If we manage to handle WS as well, this could simplify the code base.

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

Successfully merging this pull request may close these issues.

1 participant