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

Consider changing interface state storage mechanism #70

Open
mike-marcacci opened this issue Dec 12, 2019 · 0 comments
Open

Consider changing interface state storage mechanism #70

mike-marcacci opened this issue Dec 12, 2019 · 0 comments

Comments

@mike-marcacci
Copy link
Member

Currently, the interface stores its state in localStorage. This works very will in most cases, with the notable exception of Paw, which does not persist this data within its OAuth2 plugin. This causes loads of unnecessary authorizations to be created by developers, not to mention the annoyance of having to log in again. We should investigate setting cookies from the client side.

OWASP generally prefers storing this kind of data (session credentials) in httpOnly cookies set by the server. This distinction is not of particular use in our case, though, as these credentials necessarily convey access to reading authorization secret over the API. It may be good to adopt server-set cookies, but this will have to be part of a broader change to have any value.

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

No branches or pull requests

1 participant