Skip to content

Conversation

brotchie
Copy link

@brotchie brotchie commented Feb 11, 2022

createFetchMiddleware doesn't support calling into an Eth JSON RPC Node that's protected by cookie-based
authentication. The standard approach to solving this is to tell fetch to send cookies along with CORS
requests. This change adds a sendCredentials option to createFetchMiddleware that, when set to true,
indicates cookies to be send for CORS requests.

…okies for cross-origin calls.

createFetchMiddleware doesn't support calling into am Eth JSON RPC Node that's protected by cookie-based
authentication. The standard approach to solving this is to tell fetch to send cookies along with CORS
requests. This change adds a sendCredentials option to createFetchMiddleware that, when set to true,
indicates cookies to be send for CORS requests.
@brotchie brotchie requested a review from a team as a code owner February 11, 2022 23:15
@mcmire
Copy link
Contributor

mcmire commented Sep 29, 2022

Hi @brotchie, sorry it's taken us so long to respond to you on this. Would you mind enabling edits to your branch from maintainers? I've made some changes to this repo that resulted in a merge conflict on this PR, but I've fixed that on my end, so I'm happy to push up those changes and merge this PR once you enable edits :)

@rekmarks
Copy link
Member

rekmarks commented Oct 9, 2025

Closing due to age.

@rekmarks rekmarks closed this Oct 9, 2025
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.

3 participants