Category "amazon-cognito"

AWS Cognito - Possible to resend Signup Email with temporary password?

After searching the official AWS CLI cognito-idp documentation, it seems there is no way to 'reset' a user back into a FORCE_CHANGE_PASSWORD state once that use

AWS CDK - Cognito UserPool authorizer on API Gateway not working

My goal is to set up some lambda functions which are public (i.e. no authorization required to send requests) and other ones which require a User to be logged i

Amplify API REST with AWS_IAM: Request failed with status code 403

I'm trying to execute API calls from ReactNative AWS Amplify to API Gateway endpoint using AWS_IAM authorization. I do it by calling (all Amplify initialization

How to get the code returned by Cognito Hosted UI Autentication in Django?

I want to implement the Cognito Hosted UI for some users in my Django application. I have successfully been able to redirect the users to the desired url for au

can i use "amazon-cognito-identity-js" for federated authentication with cognito

I use "amazon-cognito-identity-js" javascript library to integrate Cognito for my react app. it seems that only supports email/password authentication only. I w

Signing into Cognito app through Cypress programmatically , giving userpoolId and clientId is loading the app with out user data

I am trying to automate Sign In flow for an app with Cognito Identity Provider in Cypress. This is the code I am using cypress.json : "username": :<userName&

Flutter AWS Auth: How to get custom user attribute?

How do I get in Flutter, the cognito custom user attribute for user? await Amplify.Auth.fetchUserAttributes(); returns only user attributes but not the custom

Flutter WebView doesn't call onPageFinished on iOS

I'm working with webview_flutter in order to Auth my users through Cognito's auth endpoint. This is my WebView: return WebView( initialUrl: url,

User pool client {id}does not exist

Here is my code: use Aws\CognitoIdentityProvider\CognitoIdentityProviderClient; $args = [ 'credentials' => [ 'key' => 'valid', '

AWS Cognito login to return as JSON

I have this link : https://{application}.auth.us-east-1.amazoncognito.com/oauth2/authorize?response_type=token&client_id={clientid}&redirect_uri=http://

What is the server discovery endpoint (well-known url) of a AWS Cognito Userpool?

OpenID providers publish their metadata at a well-known URL. In Okta it looks something like this: https://dev-599740.okta.com/oauth2/default/.well-known/oauth-

How can I connect users in Cognito with their data in DynamoDB?

I'm trying to implement a solution in my Vue.js web app whereby users are authenticated via AWS Cognito. I'm using DynamoDB as the backend database. What I'm tr

AWS Cognito + aws-amplify: session state always keep user logged in?

I'm using AWS Cognito and aws-amplify to manage user authentication. When I load up my app, I call Auth.currentSession() which seems to always return the user I

Is there anyway to generate a SRP_A from AWS CLI?

aws cognito-idp admin-initiate-auth --user-pool-id eu-west-1_xxxxx --client-id xxxxxxxxxxxxxxxxx --auth-flow USER_SRP_AUTH --auth-parameters USERNAME=xxx@yahoo.

Using AWS cognito id token instead of access token

After login, AWS cognito provides access token and id token. In the backend I was wondering if I can use ID token instead of access token for authorization. Som

Serverless deployment error - AppleIdentityProvider - Provided private key cannot be used

I am trying to deploy a serverless backend code to AWS. The code handles device registrations of ios devices with apple as Idp. Got the following error: Serverl

AWS Cognito - run another lambda after migration lambda has run

Cognito has a migration lambda that allows us to confirm a user in our db. They send the email and PW to Cognito, the lambda fires, we verify matches, and the u

What is a safe and scalable way to exhaustively select all users from Amazon Cognito API in JavaScript?

I am part of a small team working on a fairly small website with user accounts; there are about 100 users at this time. And we are using Amazon Cognito for user

Is there a way to connect an Appsync resolver to an API gateway endpoint that's authorized via Cognito userpools?

I have an existing API Gateway endpoint that is secured by a Cognito userpool authorizer. I'm not able to change the authorization method at this time. I would

SAML Attribute Mapping for Aws Cognito - Signup or Signin works but not both

I have setup my GSuite account as a SAML iDP for Cognito User Pools (not identity pools). If i provide no attribute mappings a new user trying to signup via GS