Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
156 views

I'm building a React application with Vite that uses AWS Cognito for authentication. I'm having issues with environment variables not being properly loaded or accessible in my application. ...
Mauricio Pastora's user avatar
2 votes
0 answers
75 views

What's the main difference between @aws-sdk/client-cognito-identity and @aws-sdk/client-cognito-identity-provider? Both seem to have essential support for cognito usage. Thanks
Xin's user avatar
  • 37.1k
1 vote
1 answer
238 views

I have made application which requires login and signup. The data fields of users are like (name, emailid, password and role_type(default is visitor). So there are two roles- Admin and visitor. I have ...
1DS20IS407__SHAIKH_ALAM's user avatar
0 votes
1 answer
137 views

I am implementing developer-authenticated identities in an Angular app that uses the "Enhanced Workflow" from the official documentation. I followed the official guide for implementing this ...
Stanley's user avatar
  • 5,541
0 votes
1 answer
109 views

Can i implement the solution using cloudwatch? I looked into AWS cloudwatch but I could only set up metrics for logins in general, not per user. Or should i use lambda triggers and RDS to count the ...
student's user avatar
  • 11
1 vote
0 answers
118 views

My current log-in page is built using Astro.js and AWS Cognito. I have one user set-up on Cognito and that user could log-in to the app using the credentials I specify on Cognito and in the codes for ...
PhuongHoang6897's user avatar
0 votes
1 answer
83 views

I am using the amazon-cognito-identity-js library to create a new user in Amazon Cognito, but I cannot view the properties of the class CognitoUserPool. My application is Nuxt3 using Pinia. Steps that ...
launchCode's user avatar
0 votes
1 answer
525 views

I've recently made a local build for my Amplify/React Native/Expo project using eas build. Within the local build, when attempting to sign in using Amplify's Auth.signIn() feature, I am receiving the ...
A.J. Peppers's user avatar
0 votes
1 answer
149 views

I am using amazon-cognito-identity.min.js file got from NPM package and import in HTML page like mentioned below. Got help from here. <script src="cognito-identity-js/amazon-cognito-identity....
Farid's user avatar
  • 92
0 votes
1 answer
301 views

I am looking into using amazon-cognito-identity-js with my React frontend and boto3 with my Python backend. Once I have a user signed in on the frontend, how can I send an API request to my backend ...
Jahill's user avatar
  • 78
0 votes
1 answer
832 views

Is it safe to use amazon-cognito-identity-js on a frontend application given that it will have your user pool and client ID? I am trying to use Cognito in my React app (with a Python backend). I was ...
Jahill's user avatar
  • 78
0 votes
1 answer
367 views

I wouldn't say I'm new to JS but I haven't stuck with it long enough to be that knowledgeable so hopefully someone here can help. I have recently started making a website with React and I'm getting ...
Skepi's user avatar
  • 478
5 votes
1 answer
2k views

I am using the AWS SDK JS V3 in the browser in an Angular app along with Cognito to handle user authentication. I am able to successfully instantiate the CognitoIdentityProviderClient using the ...
Alex C.'s user avatar
  • 51
0 votes
1 answer
848 views

Are Cognito userpool really case-insensitive by default? I have created a Cognito userpool configuring the email as the only login field, but when I try to login using some uppercase letters in my ...
LurenzZ's user avatar
  • 23
0 votes
0 answers
506 views

I want to create a few Groups in my AWS Cognito UserPool. I have a stack that is creating the user pool so want to add code similar to [ { groupName: 'administrators', ...
NULL pointer's user avatar
  • 1,417
1 vote
1 answer
544 views

I have a website with social login (apple , google , facebook), the social logins are configured in cogntio user pool. for the website to work it needs name and email from the providers to create ...
Sankalp Chari's user avatar
6 votes
0 answers
523 views

xIn a react app I'm trying to set up federated sign-in with Google using AWS Cognito. When a user signs in with Google, the federated sign-in is successful and I receive a token from Auth....
irfan önk's user avatar
0 votes
1 answer
93 views

I'm unable to receive an SMS from using resendConfirmationCode method from amazon-cognito-identity-js. Even thought the request was sent successfully with a sample response of { AttributeName: "...
Irfandy J.'s user avatar
  • 1,484
0 votes
1 answer
744 views

I'm trying to implement user login with username and password on a spa using aws cognito, but I keep getting error on the auth flow. Previously I was using 'amazon-cognito-identity-js' and it was all ...
fudo's user avatar
  • 3,044
0 votes
1 answer
277 views

Situation: I have a ReactJS web application that is deployed through AWS Amplify and uses Amplify Studio backend to handle authentication through Cognito services and aws-amplify sdk (sign in, sign ...
companyglue's user avatar
2 votes
0 answers
223 views

I'm using react-google-login and amazon-cognito-identity-js packages to log my users in. I'd like to use the amazon-cognito-identity-js's auth method, passing the user's email and password, to call ...
Niteesh's user avatar
  • 21
0 votes
1 answer
198 views

I am using amazon-cognito-identity-js and the callback looks something like this... cognitoUser?.getUserAttributes((err, results) => { if (err) { console.log(err.message || JSON.stringify(err)...
devteamatl's user avatar
0 votes
1 answer
241 views

I am learning React and Typescript and working on a React, Typescript, AWS Amplify Cognito project and trying to implement this method: public confirmRegistration( code: string, forceAliasCreation: ...
beepboopiamabot's user avatar
2 votes
1 answer
4k views

Issue: I am having difficulty implementing use case 27 from the amazon-cognito-identity-js library, specifically in trying to modify it to use a QR Code. I am able to receive the secret code from &...
codiana's user avatar
  • 41
3 votes
1 answer
2k views

I'm using amazon-cognito-identity-js to reset user password. I call user.forgotPassword() and that all works fine, the user receives a verification code, etc. However, something strange happens when I ...
Lovro's user avatar
  • 872
0 votes
1 answer
1k views

I have a problem integrating library "amazon-cognito-identity-js" into react native. The authenticateUser function is too slow depending on the device: Iphone XS: 40 seconds Samsung galaxy ...
Quan Le's user avatar
  • 535
1 vote
1 answer
3k views

Following along with the AWS-SDK examples/documentation in a Gatsby app, I have the workflow below setup to upload a file to my S3 bucket from the client directly however, the const data = await ...
Kirill's user avatar
  • 21
1 vote
0 answers
656 views

i am using AWS Amplify for authentication in react native app Auth.signIn() method does not give any response its does not give success or error response. In IOS its working fine. In Android its ...
Pratap Penmetsa's user avatar
1 vote
1 answer
2k views

I need getting an information about user confirmation status, using amazon-cognito-identity-js Using this function i can't do it export const getCognitoUser = (email) => { const userData = { ...
annn's user avatar
  • 73
1 vote
0 answers
185 views

User is not authenticated message is getting in the response while i'm trying to do updateUserAttribute, deleteUser (authenticated user), verifyUserAttribute, after succesful login authenticateUser ...
Chaitanya's user avatar
0 votes
2 answers
1k views

When I use the Cognito HostedUI, I receive the access_token from URL parameters in callback page and feed it to my API call header as follows: new HttpHeaders({ 'Content-Type': 'application/json', ...
Taha Erden's user avatar
3 votes
1 answer
2k views

I keep on getting an "invalid grant" error, yet for what I can tell I am doing it all as per spec. I can get the tokens just fine: aws cognito-idp initiate-auth --auth-flow ...
Nick G.'s user avatar
  • 597
1 vote
2 answers
4k views

I'm familiar with Svelte but completely new to Sveltekit. I'm trying to build a Sveltekit app from scratch using AWS Cognito as the authorization tool without using AWS Amplify, using the amazon-...
LionOnTheWeb's user avatar
0 votes
1 answer
2k views

I am attempting to setup MFA for users after they reset their passcode. The code runs smoothly until I hit mfaSetup, specifically the line user.associateSoftwareToken(). When I pass in 'this' instead ...
Christina Stebbins's user avatar
0 votes
1 answer
1k views

all. Can anyone help me understand why I am getting a Uncaught (in promise) TypeError: callback is undefined in the below code? It does not make it to the on success or on failure clauses. const ...
Christina Stebbins's user avatar
1 vote
1 answer
6k views

I have been able to log in and log out for a while with the exact same email and password combination. However, now, every time I try to log in (I tried the following cases: disabled my user on the ...
Christina Stebbins's user avatar
0 votes
1 answer
533 views

I am using the amazon-cognito-identity-js library in express/node backend to handle all authentication. Basically when I try to log in on my front end, it logs me in and persists the state without ...
Andy Harmuth's user avatar
0 votes
0 answers
934 views

I am managing an application written in Node.js (restful backend) and React (frontend) and use AWS Cognito for user authentication. In the frontend, I have a form which requests my backend to delete a ...
dildik's user avatar
  • 405