hapijs / hapijs/bell

Big cookie size

Open
#489 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
616
Forks
210
Avg merge
3m
Merged PRs (30d)
3

Description

Hi,
I would like to understand why the cookie stores the `request.query` since they are not used furder in the code to accomplish the OAuth1 dance.

The cookie is necessary only to compare the `client.temporary(oauth_callback)`'s result

https://github.com/hapijs/bell/blob/9dbf61cf1399e6f46fae0db98c9c0abf31b07a5a/lib/oauth.js#L67-L73

Do you have any insight?

This leads to having a `set-cookie` response header (occasionally) very big and the default NGINX config blocks it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.