nextcloud-libraries / nextcloud-libraries/nextcloud-axios
Disable authentication headers
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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