Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got SignatureDoesNotMatch on Presigned URL with custom domain #424

Open
nmfzone opened this issue Nov 17, 2023 · 0 comments
Open

Got SignatureDoesNotMatch on Presigned URL with custom domain #424

nmfzone opened this issue Nov 17, 2023 · 0 comments

Comments

@nmfzone
Copy link

nmfzone commented Nov 17, 2023

Hello, I'm not sure this is related to this package, but since this is my first time using aliyun OSS, and mostly the docs are in china, I can't figure it myself.

Please take a look with these two URLs

Those url I've created using Official AWS SDK for Go v2 and using V4 signing method, and of course, I've already map those domain in Bucket Domain Names. Why I'm getting SignatureDoesNotMatch when using custom domain?

The interesting part is, if I'm using V2 signing method, it's working fine with custom domain.

https://sub.domain.com/folder1/coba.png?AWSAccessKeyId=LTAI5t8X7fhAiTJX7RxXd4Q1&Expires=1700651125&response-content-disposition=inline%3B%20filename%3D%22coba.png%22&Signature=DioRNsD4oD8be4iGSwGKf6gaDJE%3D

Does the custom domain only support presigned URLs with AWS V2 signing method?

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

No branches or pull requests

1 participant