Skip to main content

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.

aws-amplify-sdk-js
0 votes
0 answers
11 views

Can i deploy my Node js express app to AWS Amplify?

So my question is, is it possible to deploy my node js express app on AWS Amplify? Currently i get an error that the dist is not available. My react app deployed with no issues but the backend isn't. ...
Kashyap's user avatar
  • 95
0 votes
0 answers
83 views

Error Accessing Secrets from Secrets Manager via Amplify: [CredentialsProviderError]: Could not load credentials from any providers

I have a NextJS 14.2.4 app deployed via the Amplify Console (Gen 2). I am not using Amplify CLI. I created the app with create-next-app. I am leveraging Simple Email Service to send an email with info ...
StephenW's user avatar
0 votes
0 answers
52 views

How can I list all users from my Cognito Pool?

I'm making a new fullstack app using aws amplify gen2. I've just started working, and a critical functionality of my app is listing and managing current users in the cognito pool, however, the amplify ...
Om Patel's user avatar
0 votes
1 answer
51 views

Amplify Gen 2: Filter by Case-Insensitive String

I'm trying to do the equivalent of a basic SQL LIKE filter on a list, and it seems the closest option using GraphQL is to use contains, which is case-sensitive. Is there a way to do a case-insensitive ...
Michael Berk's user avatar
0 votes
0 answers
37 views

Node Runtime Version Reversion from 20.x to 14.x

Problem Description: I have a React project with a backend set up using AWS Amplify environment. In the backend, I utilize various resources such as Auth, Host, Function, and API. Initially, all ...
Maulik M Soni's user avatar
0 votes
0 answers
17 views

Implementing Ouath2 BFF Pattern with AWS Amplify and Cognito

I am using AWS Cognito as my Authentication server and using Amplify UI library with react to handle authentication in my client. I am mainly using Amplify since it allows me to do more customisations ...
Chamila Wijayarathna's user avatar
0 votes
1 answer
202 views

Mock AWS Amplify API and Storage for Unit Testing with V6

I have a Typescript/React Application leveraging Amplify to run in AWS. My Application leverages Amplify API (GraphQL) and Amplify Storage for working with Amazon Services. in Amplify V5 I was able to ...
Raystorm's user avatar
  • 6,438
0 votes
0 answers
32 views

What does Amplify's fetchAuthSession function throws when the refresh token expires and is unable to refresh access token and id token?

I'm using Amplify Auth V6, and I'm somewhere confused with the following: After the official Amplify V6 documentation, the fetchAuthSession function retrieves the tokens from the chosen storage for ...
enigmaticdocument's user avatar
0 votes
0 answers
60 views

Amplify Credentials Expiring in 1 Hour (Despite 12-Hour Cognito Token)

I'm using Amplify Auth (Cognito) and Storage in my React application for file uploads. I've configured my Cognito user pool access token to last for 1 day. However, I'm encountering the "...
Mina Tharwat's user avatar
0 votes
0 answers
53 views

Getting [Error: Credential is missing] using @aws-sdk/client-verifiedpermissions with AWS Cognito for getting Permissions

I am using the IsAuthorizedWithTokenCommand Command from @aws-sdk/client-verifiedpermissions to get authorization using the identity token generated by cognito, but i am getting the error: ...
João Guilherme Monteiro's user avatar
0 votes
1 answer
129 views

Amplify v6 IdentityPool IAM authentication

In Amplify V5 library, I was able to provide guest access to a GraphQL/App Sync api that I used in a registration user flow. To call the Appsync API as a guest, I would authenticate to using Cognito ...
sancocho's user avatar
0 votes
0 answers
208 views

How do I use custom memory storage using aws amplify v6 and also persist the session on page refresh-Reactjs

I do not want to store my session details in localStorage, sessionStorage or cookies as they are vulnerable to xss attacks. I do know that aws amplify provides custom memory storage functionality but ...
Dhiraj makhijani's user avatar
0 votes
0 answers
90 views

Trouble with AWS Cognito, API Gateway, Amplify. Requests are always anonymous and return a 403

I'm trying to make authenticated requests to API Gateway where I've set a Resource Policy which restricts access to some resources to a IAM role. No matter the settings I try, all requests to a ...
Jeff Farr's user avatar
0 votes
0 answers
58 views

Getting undefined word on the attributes of User in AWS Amplify in Readct

I'm using @aws-amplify/ui-react to add custom funcionality on the ForceNewPassword of Cognito I'm trying to add the phone number on the ForceNewPassword component but when the request is send I always ...
Avedis Maroukian's user avatar
2 votes
1 answer
1k views

Problem in configure method of AWS Amplify JavaScript library after upgrade to 5.3.7

I just upgraded my NodeJS project which upgraded my aws-amplify library and encountered with multiple breaking changes. I was able to fix all except the two. Following is my updated package.json file:-...
vinod827's user avatar
  • 1,464

15 30 50 per page
1
2 3 4 5
7