question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing x-amz-security-token in presignedPostPolicy

See original GitHub issue

Minio JS Version: 7.0.18

Even if you provide sessionToken, presignedPostPolicy response formData does not contains x-amz-security-token.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
joshuaavaloncommented, Mar 11, 2021

Yes, it works in my environment.

0reactions
ebozdumancommented, Mar 17, 2021

It also works in my environment. I have tested the fix with Keycloak and web identity. Please let me know if you need help testing the PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

POST Policy - Amazon Simple Storage Service
Each request that uses Amazon DevPay requires two x-amz-security-token form fields: one for the product token and one for the user token.
Read more >
minio: Versions - Openbase
new Minio() now takes 'secure' as the boolean not 'insecure'. To make the API simpler. presignedPostPolicy now generates and returns back the proper...
Read more >
https://git.cubetiqs.com/CUBETIQ/gitea/commit/62e6...
ReportError("validateNumber", `missing digit after dot`) + return true ... +* [presignedpostpolicy.go](https://github.com/minio/minio-go/blob/master/ ...
Read more >
JavaScript Client API Reference - The MinIO Quickstart Guide
removeBucket, putObject, presignedPostPolicy, getBucketPolicy ... sessionToken, string, Set this value to provide x-amz-security-token (AWS S3 specific).
Read more >
How to do a Pre-signed POST upload to AWS S3 in...anycodings
PresignedPostPolicy (policy) if err != nil { fmt. ... map[string]string{ "x-amz-security-token": *securityToken, }) } conditions = append(conditions, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found