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
13
votes
2 answers

AWS-amplify Including the cognito Authorization header in the request

I have create an AWS mobile hub project including the Cognito and Cloud logic. In my API gateway, I set the Cognito user pool for the Authorizers. I use React native as my client side app. How can I add the Authorization header to my API request.…
Anson Cen
  • 423
  • 1
  • 6
  • 13
13
votes
4 answers

AWS Cognito/Amplify - have new user sign ups be automatically add to a user group

I am using AWS Amplify library to sign up and perform Auth for an AppSync project. This uses Cognito. However, when a new user signs up via Amplify/Cognito, the new user isn't assigned to any specific group in the cognito pool. I am using the…
12
votes
3 answers

Can't delete amplify app from amplify dashboard

I Can't delete app_name app from the dashboard Can't delete app_name app: Removing backend envs for app XXX failed I deleted an associated S3 bucket & CloudFormation manually. I've tried everything and I can't delete an app
samadhan
  • 251
  • 2
  • 8
12
votes
4 answers

No Amplify backend project files detected within this folder

How can I solve the issue of "No Amplify backend project files detected within this folder. Either initialize a new Amplify project or pull an existing project" Am always having this issue on Windows with Amplify. I am following the TindeClone, just…
Benjamin Ikwuagwu
  • 377
  • 1
  • 9
  • 28
12
votes
3 answers

Cannot find type 'AnyCancellable' in scope from amplify code snippit

import Foundation import SwiftUI import Amplify class MovesAPI: ObservableObject { @Published var todoLIst: [MoveType?] = [nil] init() { listTodos() } func listTodos() -> AnyCancellable { //cannot…
Joe Davis
  • 541
  • 5
  • 10
12
votes
2 answers

How to use AWS Amplify in React Native with Typescript Project?

I'm trying to add Amplify Authentication in my react native project which uses typescript. There is a package given in amplify documentation 'aws-amplify-react-native' which is used as a middleware to authenticate our application. But this package…
12
votes
1 answer

(React Native - Using AWS Amplify) - Invariant Violation: Native module cannot be null

Description of the issue: I'm implementing push notification in my React-Native app using this AWS Amplify doc and testing with the iOS part fails with the error "Invariant Violation: Native module cannot be null", however if I test (i.e fetching…
aksyuma
  • 2,957
  • 1
  • 15
  • 29
12
votes
1 answer

AWS Amplify: How to map social providers attributes for an email based authentication?

I have a React web application built with AWS Amplify I have added authentication with Cognito user pools, I am not using usernames, I have selected the login using email/phone only, I don't want usernames, but Cognito creates a random username…
12
votes
1 answer

What is the best way to secure Firebase API keys in a react app so it is not accessible publicly?

I currently have a React app using Firebase authentication & uses Firestore as the database. I currently have the app deployed using Amazon's Amplify service. My Firebase API keys, including the database URL and firebase app Id are all added as…
nkhil
  • 1,452
  • 1
  • 18
  • 37
12
votes
3 answers

How to run an existing aws amplify project

I have been asked to work on an existing aws amplify reactJs project. Normally I would simply clone the project repo from either github or bitbucket, but this project is am amplify project and requires a whole set of configuration. I have several…
hyprstack
  • 4,043
  • 6
  • 46
  • 89
12
votes
4 answers

How to verify accessToken in node/express using aws-amplify?

I am using AWS amplify for user authentication on my front-end React app. My React app directly communicates with amplify without any backend(node server) interaction. I have a REST API written in node/express. I want to secure that API using…
Waeez
  • 289
  • 4
  • 12
  • 29
12
votes
1 answer

AWS Cognito cookie storage

I'm trying to set up Cognito to use cookies instead of localStorage for credentials so that I can keep the user logged in between domains, e.g. x.foo.com and y.foo.com. The first step is to get it working on localhost but I'm stuck. The…
Noel Heesen
  • 223
  • 1
  • 4
  • 14
12
votes
3 answers

Can I regenerate the amplify file team-provider-info.json?

I have an amplify react app with resources pushed to cloud. Unfortunately, when I went to commit I removed the team-provider-info.json without backing it up. I have every other file that originated with amplify in my local project. Can I regenerate…
MarshHawk
  • 491
  • 7
  • 13
12
votes
8 answers

Amplify configure

I have installed 'amplify-cli'. When I type 'amplify configure', I get the error message: 'amplify is not recognized as an internal or external command, operable program or batch file'.
Kebasita
  • 181
  • 2
  • 2
  • 9
12
votes
2 answers

Keep query strings with AWS Amplify Hosting - React

I currently have a react app using react-router-dom that works locally but not when deployed using AWS Amplify. The problem is that when I route to a URL and use query strings, the browser gets a redirect and drops the query strings. For example…
rocketlobster
  • 690
  • 7
  • 18