IQSS / IQSS/dataverse-frontend

Use bearer token auth in file download

Open
#913 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

GREI Re-arch Project: HDV SPA Rollout Size: 10
Dominant language
TypeScript
Stars
31
Forks
26
Avg merge
4d 13h
Merged PRs (30d)
4

Description

Rather than call the download directly with the downloadURL, we need to call a js-dataverse use case that will use bearer token authentication.
Depends on https://github.com/IQSS/dataverse-client-javascript/issues/412

Contributor guide

Open the contributing guide

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.

Research direction

Start by reading the dependent js-dataverse issue 412, then locate where the frontend calls the downloadURL directly. The work is done when file downloads use the js-dataverse use case with bearer token authentication instead of calling the URL directly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.