Skip to content

fix(services-aws-v4): Ensure token has been trimmed and encoded - #653

Merged
Xuanwo merged 1 commit into
mainfrom
fix-s3-oidc
Oct 13, 2025
Merged

Xuanwo merged 1 commit into
mainfrom
fix-s3-oidc

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Oct 13, 2025

Copy link
Copy Markdown
Member

Fix part of apache/opendal#6656

In the real world, token files may contain non-URL-safe characters. This PR handles them by trimming and encoding the tokens before sending them out.

@Xuanwo
Xuanwo merged commit 1744efc into main Oct 13, 2025
@Xuanwo
Xuanwo deleted the fix-s3-oidc branch October 13, 2025 06:43
@Xuanwo Xuanwo mentioned this pull request Oct 21, 2025
Xuanwo added a commit that referenced this pull request Oct 21, 2025
This PR will bump reqsign version to 0.18.1

All other crates bumped to 2.0.1


## Summary

- Enabled reqsign-http-send-reqwest and reqsign-file-read-tokio to build
on WASM, tightening cross-platform coverage.
- Improved credential handling by returning credential_invalid when no
credential is available and trimming/encoding AWS
  tokens correctly.
- Aligned internal crate versions for the 0.18.1/2.0.1 release and fixed
the release workflow.

## Commits

- bd9eee5 Bump version to 0.18.1
- 4997eef feat: Make http-send-reqwest available on wasm (#656)
- 125362c feat: Return credential_invalid while no credential found
(#655)
- c7953e5 feat(context-file-read-tokio): Allow file read tokio been
built on wasm (#654)
- 1744efc fix(services-aws-v4): Ensure token has been trimmed and
encoded (#653)
- 60d1ca9 ci: fix up release workflow (#650)

---

**This PR was primarily authored with Codex using GPT-5-Codex and then
hand-reviewed by me. I AM responsible for every change made in this PR.
I aimed to keep it aligned with our goals, though I may have missed
minor issues. Please flag anything that feels off, I'll fix it
quickly.**

Signed-off-by: Xuanwo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants