Skip to content

Cookie-based auhentication for requests#373

Draft
martastain wants to merge 2 commits into
developfrom
feature/use_cookie_based_auth_for_requests
Draft

Cookie-based auhentication for requests#373
martastain wants to merge 2 commits into
developfrom
feature/use_cookie_based_auth_for_requests

Conversation

@martastain

@martastain martastain commented Apr 26, 2024

Copy link
Copy Markdown
Member

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.

2 participants