Federated identities put into my user pool (Angular)
See original GitHub issueI’m developing an Angular app and I want to utilize Cognito to handle my users.
When a user registers themselves via Facebook/Google I want to put their information in the user pool. In the documentaion I saw that is possible to do this in React and React Native by using withAuthenticator HOC.
What I need is:
- I Get the Facebook / Google token
- The token is sent to Cognito which auth the user and puts them into the user pool.
- An access token is sent back.
I have tried to do that by using the method Auth.federatedSignIn()
but it not add the user into the user pool
Is it possible to do in Angular?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Amazon Cognito identity pools (federated identities)
Amazon Cognito identity pools (federated identities) enable you to create unique identities for your users and federate them with identity providers.
Read more >Add user to AWS Identity Pool automatically after login ...
How do I use this to then automatically add the user to a configured AWS Identity Pool? Do I then get credentials back...
Read more >AWS: Configuring Cognito User pool + Federated Identity (Okta)
Setting Federated Identity (Okta) Okta is an IDP which is similar to Cognito. We are going to integrate Okta in Cognito. For this,...
Read more >How do I configure Cognito User Pool federation with Google?
... Knowledge Center article with this video: https://aws.amazon.com/premiumsupport/knowledge-center/cognito-google-social- identity -prov...
Read more >Authentication using the Amazon Cognito to an Angular ...
21. Fill in the field User pool name, click on the option Public client, fill in the field App client name, click on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nickygb you can do it by using Cognito Hosted UI: https://aws-amplify.github.io/amplify-js/media/authentication_guide.html#using-amazon-cognito-hosted-ui and after you get redirected back, use
Auth.currentAuthenticatedUser()
to get the logged in user: https://aws-amplify.github.io/amplify-js/media/authentication_guide.html#retrieve-current-authenticated-userThis issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels or Discussions for those types of questions.