-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove bearer token if cookie_enabled is true #1567
Conversation
@rhiroshi can you fix the specs? |
Any chance to get this merged? |
@blackst0ne sorry, just checking this, can you rebase to make sure the build pass? |
This is not my PR. :) |
Oh sorry, bad tag, @rhiroshi can you rebase? |
@MaicolBen Rebased. Had some tests failing but was not related to my changes. I made another commit to trigger a rerun and the tests passed. So sorry for taking so long, had a heavy workload on the end of the last year and ended up forgetting to fix things here. |
@rhiroshi no problem, thank you! |
Thanks for the merge! Any ETA on a new release with this change? :) |
@MaicolBen Could we be reviewing a way to keep the header even using cookies? Because using cookies does not eliminate the need for headers, since shell applications (and others) that do not support cookies need them, so there are applications (like the one I develop) that have both functionalities (authentication through cookies or headers). As the main driver of this change is due to the size of the cookie, what do you think about following the pattern of other languages and even the documentation, returning only the "Authorization" header, that is, removing all others ( I understand that removing these other headers would imply a breaking change, but we can do this in parts, starting with a flag to return in this new format and opening pull requests for changes in libraries that use this lib (eg What do you think? Could we go down this path? If so, I can start crafting. |
Some people were asking for the bearer token to not be included when using cookie_enabled: true in the PR that added the bearer token