Questions tagged [aws-amplify]

AWS framework for rapidly developing backends for mobile and web applications.

AWS Amplify provides the greatest common denominators for mobile backends, including authentication, analytics, notifications, storage, and offline realtime database AWS AppSync.

It works for Android, iOS, and Web clients, and provides integration with popular client runtimes such as React Native, React, Angular, and Ionic.

AWS Amplify provides a modern toolchain, including a powerful CLI and codegen.

See more at their website: https://docs.amplify.aws/

4787 questions
9
votes
4 answers

AWS Amplify Cognito Auth error in Android app

I am following the Amplify docs for adding Authentication to my Android app. I'm getting an AuthException on this line: Amplify.addPlugin(AWSCognitoAuthPlugin()) I do have a user pool created. Do I need to attach it somehow? There is some problem…
Yarin Shitrit
  • 297
  • 4
  • 16
9
votes
1 answer

Single table db architecture with AWS Amplify

By default AWS Amplify transformers creating tables per each graphql type. But according DynamoDB documentation it's best practice to Keep tables few as possible Keep often queried together entries within a same table I have an impression Amplify…
9
votes
3 answers

React images load locally but not on AWS Amplify

Hi I am working with an API that retrieves the URL of an image. I am then trying to pass that URL into an tag as follows: Locally I am met with But when I try to use the app on AWS…
9
votes
1 answer

how to deploy successfully React app with nextjs to AWS Amplify?

I am new with aws. I try to deploying my simple React app to aws amplify front-end server. My app has built successfully, but my page shows me 'Access Denied' AccessDenied Access Denied
Minsik Park
  • 557
  • 3
  • 9
  • 22
9
votes
4 answers

AWS Amplify Build Settings

Using Amplify I'm having difficulty deploying a React application which I believe is due to the build settings. When trying to deploy the default build settings provided are shown below: I know this is incorrect and the error I find in the build…
9
votes
2 answers

AWS Amplify Auth: How to disable AmplifyConfirmSignUp?

I'm currently using AWS Amplify auth, using Cognito for React authentication. User sign-ups must confirm their new account by clicking on a confirmation link they receive via email. When a submits their sign-up info, the next UI that is displayed is…
9
votes
3 answers

Where to find AWS Amplify Logger logs

Im currently working on a WebApp created with AWS Amplify, where I have to implement logging. Based on the AWS Amplify Docs there is a built in Logger function, which i tried to implement, but cant seem to find it anywhere in my AWS console. Does…
dev.tom
  • 489
  • 2
  • 5
  • 16
9
votes
1 answer

How can I connect an existing app in the AWS Amplify Console with the AWS Amplify CLI?

As described here I can host my app in AWS Amplify console from AWS Amplify CLI: https://aws.amazon.com/de/blogs/aws/host-your-apps-with-aws-amplify-console-from-the-aws-amplify-cli/ Is it also possible to connect an existing app to the CLI? When I…
9
votes
1 answer

Error: Use of undeclared type BindableObject

I’m following this tutorial for SwiftUI amplify app where I came across this error when creating a final class which conforms to Bindable object. Error:Use of undeclared type 'BindableObject' import Combine import SwiftUI import AWSAppSync …
Nic Wanavit
  • 2,363
  • 5
  • 19
  • 31
9
votes
5 answers

403 Access Error returned from Browser possibly caused by AWS

I have my serverless web app hosted on AWS amplify. I am getting Access Denied error XML if I try refreshing the page. When I look into the Console, it shows no output. The code works fine on localhost, but will cause 403 error on live. I have found…
9
votes
5 answers

AWS amplify auth How to remove redirect uri

How can I remove a redirect uri using amplify. Running amplify auth update gives no option for removing a redirect uri, there is only a 'add/edit' option. I have tried to look through the documentation but with no success.
9
votes
3 answers

AWS Amplify & React - Module not found: Can't resolve '@aws-amplify/analytics'

I am trying to add Login functionality to a React app I'm building using Amplify and AWS Cognito, but when I add the following line in my Login.js file: Import {Auth} from "aws-amplify-react"; and try to compile, I get the following error: Failed…
Danf
  • 1,409
  • 2
  • 21
  • 39
9
votes
2 answers

Race condition in Amplify.Hub signIn handler when using oath

Example code: Hub.listen('auth', event => { const { event: type, data } = event.payload; if (type === 'signIn') { const session = data.signInUserSession; console.log('SESSION', data.signInUserSession); setTimeout(() => { …
Thom Smith
  • 13,916
  • 6
  • 45
  • 91
9
votes
3 answers

How to fix amplify CLI error : "-bash: amplify: command not found"

I had installed amplify cli on my laptop and even though it threw errors, I had used the amplify configure command anyway and it worked. But now when I'm trying to do the same thing on a different laptop it is throwing the error "-bash: amplify:…
9
votes
3 answers

Amplify Error: auth headless init is missing the following inputParams facebookAppIdUserPool, facebookAppSecretUserPool

G'day, I had a working Amplify project. Well, it was all good until I run amplify add auth and push the changes to master. I was following the instruction here…
Willow Yang
  • 278
  • 3
  • 9