Questions tagged [aws-amplify-sdk-js]

Use this tag to group queries related to AWS Amplify that are related to the JavaScript SDK as opposed to the Amplify CLI or the iOS / Android libraries.

The Amplify framework has several products, including:

  • Amplify CLI (open source)
  • Amplify SDK for JS (open source)
  • Amplify React, Angular, and Vue component libraries
  • Amplify SDKs for iOS / Android (open source)
  • Amplify Console (managed, paid service)

This tag can be used to group queries just related to the second bullet.

87 questions
0
votes
1 answer

Why does user gets automatically logged out when user is logged in or confirms registered account react native aws amplify?

I am facing an interesting problem. When user registers to the application it succeeds and user receives the verification code to the email and is taken to confirm account screen. There when user puts the verification code and is taken to the home…
Jukka Koivu
  • 269
  • 4
  • 15
0
votes
1 answer

Amazon S3 fails uploading of 1000+ files s3 bucket with 403 forbidden after 900 ms

Environment details: Back end :AWS Amplify Front end : NextJS I am implementing a solution where the user need to upload 1000+ individual files ranges from 500mb to 1gb to Amazon S3 bucket from browser every time when user wants to upload, similar…
0
votes
1 answer

React native proper handling of amplify Auth.federatedSignIn

so I am a bit new to react native, I am currently trying to implement Cognito social logins for my application, and the 3rd party sign ins work but the code itself does not wait for the successful login. I'm sure I'm missing something…
Martin Calvert
  • 1,705
  • 2
  • 11
  • 13
0
votes
1 answer

How would I autofill a field in an aws appsync schema?

I'd like to autofill a "userId" field when an object of this type is created. type FriendRequest @model @key(fields: ["userId", "receiver"]) { userId: ID! receiver: ID! } How would this be done? Would I need an @function directive on the userId…
0
votes
1 answer

How do I pass signUpConfig to Amplify's withAuthenticator HOC without getting Typescript errors

I am trying to create a react app using Typescript and AWS Amplify for user authentication. I want to limit the sign up fields to only be email and password. According to the AWS doc, I should be able to achieve this with the minimal example…
morras
  • 1,102
  • 9
  • 24
0
votes
2 answers

Is this proper usage of AmplifyRequireNewPassword React component?

The intent of my app is to log in to a AWS Cognito User Pool where new users are created by the admin and sent a temporary password. The user pool was created with the Amplify CLI. This code is pretty much copied and pasted from the AWS Amplify…
Jesse G
  • 36
  • 3
0
votes
1 answer

Angular 10 - AWS Amplify Auth - AuthError - Error: Amplify has not been configured correctly

Deployed SPA application on to AWS Amplify, and enabled Auth. getting below error package.json "dependencies": { "@angular/animations": "^10.0.14", "@angular/cdk": "^8.1.1", "@angular/common": "^10.0.14", …
0
votes
1 answer

Using Project Expressions in Dynamo DB

I have a DynamoDB table and I am trying to just get one column from the table. More specifically I just want distinct values from a column. I am using AWS Amplify and have setup an API to query the DynamoDB table. The get method in the API is as…
Vik G
  • 539
  • 3
  • 8
  • 22
0
votes
2 answers

After updating aws-amplify i am getting error

after updating aws-amplify, i am getting this error, i am using amplify storage Refused to set unsafe header "host" Uncaught (in promise) TypeError: Cannot read property 'map' of undefined at AWSS3Provider. (AWSS3Provider.ts:409) am i missing…
0
votes
1 answer

How can I upload large media file in S3 from client side?

I have a form where a user submits an image from the client-side. Currently, I am using AWS amplify to upload images to s3. I have not faced an issue so far because most of the times users selected the images less than 5MB. But right now I need to…
0
votes
1 answer

re-renders onSubscriptionMsg, but not with new data

I have a really simple component using Connect from aws-amplify-react const EmployeeExpensesTable = () => { const [user, setUser] = useState(null) useEffect(() => { Auth.currentAuthenticatedUser().then(user => setUser(user)) }, []) …
mcottingham
  • 1,926
  • 2
  • 18
  • 28
-1
votes
1 answer

Flutter Amplify with SAML

https://docs.amplify.aws/lib/auth/signin_web_ui/q/platform/flutter#ios-platform-setup Im trying to find out if its possible to use SAML with Flutter Amplify plugin I only see documentation on how to do this with native iOS and Android How would this…
1 2 3 4 5
6