nextcloud-libraries / nextcloud-libraries/nextcloud-axios

Disable authentication headers

Open
#194 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9
Forks
5
Avg merge
3m
Merged PRs (30d)
7

Description

Hey,
what is the best way to disable the authentication headers for a specific request set by this wrapper?
I tried to set 'requesttoken': null but this wont work.
I want to use the same axios instance also for external requests where I'm not allowed to send the requesttoken header.
Brest regards,
Jonas

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 inspecting the wrapper's Axios request configuration and the code path that adds the requesttoken header. Determine how a specific request set can omit authentication headers while reusing the same instance, then verify that external requests no longer receive requesttoken and that normal authenticated requests remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, authentication
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.