Comments (3)
@Faiyyaz It happened in my case too, the reason is when it's calculating the signature it assumes acl: "public-read" as per the toString() method and if your bucket has permissions "Block all public access" on, then it means your bucket is private which is also the default. So that's why it isn't working. To fix it you can either remove the acl property from the conditions in toString() or set it as "private". Make sure to remove or set the same in the uploadFile() method
https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl
from amazon-cognito-identity-dart-2.
Hi,
Please check this working code https://gist.github.com/furaiev/e0fff973b31babd36f5c5d7b53d85349
from amazon-cognito-identity-dart-2.
I still can not access my Bucket with POST/PUT method. GET works fine.
from amazon-cognito-identity-dart-2.
Related Issues (20)
- How should i can sent one extra parameter while user do the forget password. HOT 1
- CognitoClientException{statusCode: null, code: Unknown error, name: null, message: Unknown Error) HOT 4
- bug(fatal): CognitoUser.getSession throws TypeError when storage returns null for clockDrift HOT 4
- SMS-MFA fails when pool allows users to sign in using email HOT 3
- SAML user pool IdP authentication flow HOT 2
- SSO w/ Flutter AWS Cognito HOT 2
- zip file broken HOT 2
- use case 19 HOT 2
- Unauthorized/Anonymus user token HOT 2
- Forgot Password HOT 2
- Melos version bump? HOT 5
- [ASK] Is it possible to getSession with only `refreshToken` value ? HOT 2
- Use case 19 HOT 3
- CognitoUserDeviceConfirmationNecessaryException is not being thrown HOT 3
- Enabling TOTP for MFA HOT 5
- how to solve custom challenge? HOT 3
- Federated Login... Refresh Access Token HOT 2
- AuthenticationDetails.validationData not transmitted HOT 5
- VerifyDevice request fails if username used in sendMFA() is email or phone number HOT 2
- MFA_SETUP challenge when user pool has "required MFA" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-cognito-identity-dart-2.