Rust sdk: Basic/oauth/bearer/api_key auth unused
Open
Nobody has claimed this yet.
bug
- Dominant language
- PHP
- Stars
- 178
- Forks
- 96
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 3
Description
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- This issue affects my Ory Cloud project.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Describe the bug
It seems like the auth related fields are completely unused. Is that expected?
Reproducing the bug
Relevant log output
No response
Relevant configuration
No response
Version
HEAD
On which operating system are you observing this issue?
No response
In which environment are you deploying?
No response
Additional Context
A workaround is to specify the auth tokens as default headers while initialing the reqwest client.
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 at clients/keto/rust/src/apis/configuration.rs line 19 and inspect how the authentication fields are handled. Compare this with the reported workaround of setting auth tokens as default headers on the reqwest client. Done means determining the expected behavior for these fields and documenting or correcting it with validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100