Questions tagged [amazon-cognito-facebook]

Questions about the Amazon Cognito authentication using Facebook

66 questions
1
vote
3 answers

federated identities and modification of user attributes

In my app I want users to sign themselves up/in (through user pool I created) or through facebook. I have done this first approach and looking at facebook authentication now. Basically, I retrieve user info such as name, email, gender etc but I also…
1
vote
1 answer

Different levels of access for AWS Cognito

I'm trying to build a web app that can be accessed by any user that signs up with facebook. I want to use AWS Cognito to speed up the development for users management. It has to have 3 type of users: Normal users - any user that logs in with…
0
votes
1 answer

ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'token')

I'm developing an Angular application where I'm implementing single sign-on (SSO) using Facebook authentication. However, I'm encountering an error with the message ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined…
0
votes
0 answers

Cognito Federated Social Login React Native

I am facing problem with integrating social logins into ReactNative with Expo app with Cognito. I will provide sample code which will help understand the problem, complete code is hard to provide. I have button on click of which I call Amplify Auth…
0
votes
0 answers

How to get an access token for the federated API from Cognito User Pool

I'm using an AWS Cognito User Pool. I have setup an identity provider. Let's say Facebook. I am able to login, and I see the user appear in the user list. Now, I want to be able to make requests to Facebook API using the access token on behalf of…
moltar
  • 1,372
  • 1
  • 11
  • 18
0
votes
1 answer

How Cognito handles refreshing Id and access tokens?

I am having trouble understanding how refresh tokens work in Amazon Cognito. I understand that on successful authentication, Cognito returns ID, access, and refresh tokens. The ID and access tokens are valid for an hour, after which Cognito JS SDK…
0
votes
0 answers

Aws amplify facebook login app - broken url detected

Simple question really. How do I make my facebook app live. Steps taken... I made a very basic project by running: create-react-app; amplify init; Then I created a facebook app in facebook for developers. Using the app id and app secret from that…
user1479897
  • 145
  • 2
  • 11
0
votes
2 answers

Am I logged in aws cognito in android?

I am using aws cognito for authentication, I am finding difficulty in checking if the user has logged in or logged out. How to check in aws cognito if the user has logged in or he has logged out? Is there any method…
0
votes
1 answer

How to sign up user to AWSCognitoIdentityUserPool and get the JWT tokens back?

How to sign up a user to AWSCognitoIdentityUserPool and get the JWT tokens back? I got Facebook token from facebook registration. Then how can I register user in the User pool with based on that token? I need to get JWT tokens in responce after that…
Dirder
  • 363
  • 2
  • 3
  • 11
0
votes
1 answer

How to allow a user to authenticate with Cognito or Social Provider

I cannot figure out how to have my user in a react-native app being able to use both Cognito and a social provider like Facebook. Let say the user first start by creating a username with password. And later decided to connect his account with is…
0
votes
1 answer

What is the best way to add a user to cognito user pool after a federated identity login?

While using Android SDK Cognito does not add users automatically to the user pool if user logins with a 3rd parth identity provider like Google or Facebook. What is the best way to do this? Should I register user from Android app? After successful…
0
votes
1 answer

Cognito social auth should result in a session token

My backend expects the cognito session token that is result of user logging in with cognito user pool. However, when user authenticates with facebook, no session token is being returned. Is there a way, to have the social authentication result in a…
0
votes
1 answer

Cognito: Get federated identity email

When using cognito, (not just user pool, but Google and FB federated identites too) how can I get the users email address? Do I have to make a separate call to the federated identity provider? If so could you provide an example that won't prompt…
Reid
  • 4,376
  • 11
  • 43
  • 75
0
votes
0 answers

Login Issue in Amazon Mobile Hub with Cognito

I am using Mobile Hub (amazon) in my android project and for sign-in providers i am using cognito and I have their sample code which they provide and I modify the code and the Login with Facebook is working but the issue which I am facing is…
0
votes
0 answers

IAM Role of DynamoDB and Congnito with Facebook

I am using cognito with facebook login in Unity. I want to use dynamodb with cognito credentials. Unauthenticated credential is good to go but authenticated credential shows an error DynamoDB GetItem Error : User:…