question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Authentication with User Pool and social provider

See original GitHub issue

As cognito docs states, one can authenticate with 3rd party providers (like Facebook) using only the user pool.

From amplify authentication docs, I followed this example, but it requires the identityPoolId.

So, how can I authenticate a user on a custom UI with a 3rd party providers using only the user pool?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:19
  • Comments:25 (10 by maintainers)

github_iconTop GitHub Comments

29reactions
powerful23commented, Nov 5, 2018

@itaied246 yeah for now the only way to get federated with Cognito User Pool is through Cognito Hosted UI. The Cognito Service team is currently working on to provide another way to do that without Hosted UI and once they are done(the similar way like Auth.federatedSignIn() which is used to federate with Cognito Identity Pool), we can integrate it into Amplify ASAP.

17reactions
itaied246commented, Sep 11, 2018

But that’s the point, I don’t want to use the hosted UI… There too many customizations I need to do and the hosted UI don’t offer

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding social identity providers to a user pool - Amazon Cognito
Your web and mobile app users can sign in through social identity providers (IdP) like Facebook, Google, Amazon, and Apple. With the built-in...
Read more >
Integrating Social Media to your App with AWS Cognito | Wolox
Choose an existing user pool from the list, or create a user pool. On the left navigation bar, choose Identity providers. Choose a...
Read more >
How To Add Google Social Sign On To Amazon Cognito
I show you how to set up an Amazon Cognito Userpool, create a client application, configure your user pool, create your google application, ......
Read more >
How to add Google Social Sign On To Your Amazon Cognito ...
Firstly, as seen in (1) below, click Cognito User Pool under Enabled Identity Providers. This will tell cognito to use your User Pool...
Read more >
Authentication - Social sign-in (OAuth) - JavaScript
OAuth support in Amplify uses Cognito User Pools and supports federation with social providers, which will automatically create a corresponding user in the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found