Add `withCredentials` for BitFileUpload component's XHR requests

Open
#1,407 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, wasm
Domain
frontend

Research direction

Locate the BitFileUpload component and its XHR request setup, then read how its existing request options are exposed and passed through. Add a withCredentials option for those requests and verify that it enables credentials for CORS requests; the issue provides the MDN reference but names no files or tests.

Written by the indexing model from the issue text.

Description

area / BlazorUI

in order to have fully-featured XHR requests for CORS-enabled API servers, we need to add WithCredential options to enable clients to send requests with stored credentials in cookies or headers.
more info here:
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials

Dominant language
C#
Stars
1.4k
Forks
264
Avg merge
7h 38m
Merged PRs (30d)
544

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bitfoundation/bitplatform

All issues in bitfoundation/bitplatform

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.