aws-amplify Questions

8

I'm working on a NextJS project where I'm using AWS Amplify for authentication with Amazon Cognito. However, I'm encountering an issue where I receive an error message stating "Auth UserPool n...
Hilarius asked 15/12, 2023 at 17:40

5

Solved

TL;DR: How to delete an amplify environment, when some resources of the service have been deleted manually in the console? So, I took a course on egghead to learn the aws amplify CLI. Unfortunatel...

4

Solved

I am trying to apply a policy for an identity pool in AWS. I am using awc-cli to set up the policy but it constantly gives me this exception from the title: An error occurred (InvalidRequestExcept...

2

Solved

I used Amplify to generate a static website and the underlying React app. Initially I also generated an API endpoint but, because my lambda function may run over the API Gateway timeout limit (29 s...
Talie asked 13/5, 2019 at 6:29

2

Question Is there any way to point existing Amplify apps to new repositories? Failing that, is there a way to clone Amplify app settings (including Backend environments) from one app to another? Ba...
Monroy asked 25/9, 2022 at 5:59

10

Solved

I'm facing the problem that I cant build my Angular app through the AWS Amplify Console: "You are running version v8.12.0 of Node.js, which is not supported by Angular CLI 8.0+. The official N...
Birthright asked 4/6, 2019 at 12:53

9

I've been using the aws-amplify library with ionic and was wondering how I would check if a user is logged in? I'm coming from a firebase background so this is quite different. This is so that I ca...
Seamaid asked 11/2, 2018 at 15:17

4

Solved

I can see the user's assigned User Pool group in the returned user data object in the console after logging in. Everything I've tried to assign the group to a variable has failed. What am I missing...
Pomfret asked 18/10, 2018 at 16:2

2

Solved

I'm trying to identify if the authenticated user is admin or not, by checking if it belongs to a specific group. I'm using amplify in my React application and tried several methods, such as Auth.cu...
Daudet asked 8/9, 2020 at 21:27

4

So I think this issue comes from me not quite understanding the relationship between AWS cognito user pools and the auth rules in a graphql schema. When I run the code below, I get the message &quo...
Labefaction asked 30/9, 2020 at 15:34

6

Solved

Trying to upgrade an existing React app running on AWS Amplify from node v16 to v18 The image used is the provided Amazon Linux 2 Expected it to install node 18 on the machine it spun up and build ...
Halford asked 12/12, 2022 at 9:0

2

Solved

I have run through AWS Amplify's full-stack application tutorials multiple times to create a react native app, every time with the same result. The UI components created in AWS Amplify Studio are n...
Marquittamarr asked 11/1, 2023 at 22:6

8

I have a React/Node app which i am trying to host on AWS amplify. first try, my app deployed but i saw some pages are not loading due to lack of the environment variables. i have added them to the ...
Volcanic asked 25/9, 2020 at 23:0

4

Solved

I'm using the Android Amplify library. I am having trouble finding out what kind of error would be passed back from the Amplify.Auth.signIn() function. I'm not finding the documentation for this an...

12

First I have successfully completed configuring my react application using amplify configure. I did that with the help of AWS Amplify docs. Then I have successfully added authentication to my ampli...
Arrange asked 26/8, 2020 at 21:9

3

I have a Next.js app with SSR which relies on environment variables. When I deploy the app to AWS Amplify, 2 Lambda functions are created. I have my environment variables setup in Amplify, however,...
Natala asked 16/6, 2021 at 21:40

5

Hello I'm trying to redirect and change my path after sign in using AWS-amplify and with react-dom I need after user login redirect them to localhost/main main because its sill in localhost/ If any...
Conte asked 6/11, 2020 at 20:42

3

type Test @model @key(fields: ["id", "createdAt"]) { id: ID! name: String createdAt: String! } This model created queries: getTest(createdAt: String!id: ID!): Test listTests( createdAt: Mo...
Consul asked 2/10, 2019 at 14:29

3

I'm using AWS Amplify to create a Lambda function, REST API, and Cognito user pool. I want to retrieve the Cognito user who made the request to the endpoint so I can access their user attributes. I...

4

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"; a...
Cribble asked 12/11, 2019 at 12:1

2

The getCurrentUser function imported from aws-amplify/auth only gives me username, userId, signInDetails. I want the current user's email. I also tried with fetchAuthSession but I couldn't.
Bushwa asked 26/12, 2023 at 16:29

1

Solved

I am using Authenticator and useAuthenticator from @aws-amplify/ui-react Upon successful login is there a way to get the access token? When i output the user attribute from useAuthenticator access ...
Sortilege asked 28/12, 2023 at 17:7

4

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...
Bristling asked 8/5, 2020 at 8:17

9

Solved

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'.
Egypt asked 23/10, 2019 at 0:38

5

Solved

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 speci...

© 2022 - 2025 — McMap. All rights reserved.